[SCM] an open source computer algebra system branch, debian, updated. d154cbf0957d867b9dbc99a0b1a1b5bda01cf07e
Bernhard R. Link
brlink at debian.org
Sun Mar 4 17:12:39 UTC 2012
The following commit has been merged in the debian branch:
commit 07fcec6c538d3f8b01e559e4f9b785dae8d69677
Author: Bernhard R. Link <brlink at debian.org>
Date: Sun Mar 4 15:08:33 2012 +0100
ncurses is not used on glibc systems, so do without
diff --git a/debian/control b/debian/control
index 37ed3d2..e216378 100644
--- a/debian/control
+++ b/debian/control
@@ -5,7 +5,7 @@ Maintainer: Debian Science Maintainers <debian-science-maintainers at lists.alioth.
Uploaders: Felix Salfelder <felix at salfelder.org>
Homepage: http://www.singular.uni-kl.de/
DM-Upload-Allowed: yes
-Build-Depends: autotools-dev, debhelper (>= 7), patchutils (>= 0.2.25), libgmp3-dev, libntl-dev (>=5.2), libncurses5-dev, libreadline-dev, libmpfr-dev, sharutils, texinfo
+Build-Depends: autotools-dev, debhelper (>= 7), patchutils (>= 0.2.25), libgmp3-dev, libntl-dev (>=5.2), libreadline-dev, libmpfr-dev, sharutils, texinfo
Standards-Version: 3.8.0
Vcs-Browser: http://git.debian.org/?p=debian-science/packages/singular.git
Vcs-Git: git://git.debian.org/git/debian-science/packages/singular.git
diff --git a/debian/rules b/debian/rules
index 291f880..51db977 100755
--- a/debian/rules
+++ b/debian/rules
@@ -148,6 +148,7 @@ configure-stamp:
LDFLAGS="$(LDFLAGS) -L$(CURDIR)/factory -L$(CURDIR)/libfac -L$(CURDIR)/omalloc" \
enable_NTL=no \
./configure $(DEB_CONFIGURE_EXTRA_FLAGS)
+ # don't look in system directories first:
sed -e 's#-I/usr/lib/singular-[0-9.-]*\>#-I'"$(CURDIR)"'#g' \
-e 's#-I/usr/\(local/\)\?include\( \|$$\)##g' \
-e 's#-I${prefix}\( \|$$\)#-I'"$(CURDIR)"' #g' \
@@ -157,6 +158,8 @@ 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
touch $@
build build-arch: build-stamp
--
an open source computer algebra system
More information about the debian-science-commits
mailing list