[SCM] an open source computer algebra system branch, debian, updated. 75424c18b6a4fb868bb02be5130c548db799708a

Bernhard R. Link brlink at debian.org
Mon Mar 5 11:15:10 UTC 2012


The following commit has been merged in the debian branch:
commit 75424c18b6a4fb868bb02be5130c548db799708a
Author: Bernhard R. Link <brlink at debian.org>
Date:   Mon Mar 5 10:08:17 2012 +0100

    avoid linking against libtermcap
    
    If libncurses-dev is not installed, configure chooses libtermcap
    to link against. Remove that from the generated Makefile as well.
    (neither ncurses or termcap are actually used on glibc systems,
    but configure has no switch to disable the check).

diff --git a/debian/rules b/debian/rules
index f2bc172..7746889 100755
--- a/debian/rules
+++ b/debian/rules
@@ -158,8 +158,9 @@ configure-stamp:
 		Makefile omalloc/Makefile kernel/Makefile Singular/Makefile \
 		libfac/Makefile factory/GNUmakefile
 	sed -e 's#-I$$(includedir) ##' -i factory/GNUmakefile
-	# ncurses is only needed for the internal readline not available with glibc:
-	sed	-e 's# *-lncurses##'	-i Singular/Makefile
+	# ncurses or termcap is only needed for the internal readline not available with glibc:
+	sed	-e 's# *-lncurses##' -e 's# *-ltermcap##' \
+		-i Singular/Makefile
 	# only called by the library, no need to link binaries against
 	sed	-e '/^LIBS\>/s# *-lnsl##' \
 		-e '/^LIBS\>/s# *-lntl##' \

-- 
an open source computer algebra system



More information about the debian-science-commits mailing list