[sagemath] 02/02: Sage runs ./configure in a non-standard way, we also have to

Ximin Luo infinity0 at debian.org
Wed Jul 5 10:28:47 UTC 2017


This is an automated email from the git hooks/post-receive script.

infinity0 pushed a commit to branch master
in repository sagemath.

commit ee3c8159f2a1ba52d0a7fee1de492ae1c2bcbf30
Author: Ximin Luo <infinity0 at debian.org>
Date:   Wed Jul 5 12:28:26 2017 +0200

    Sage runs ./configure in a non-standard way, we also have to
---
 debian/rules | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/debian/rules b/debian/rules
index 45378bf..5592351 100755
--- a/debian/rules
+++ b/debian/rules
@@ -89,7 +89,8 @@ else
 DEB_BUILD_TARGET = all
 endif
 dh_auto_build-stamp: prune
-	MAKE='make -j$(NUMJOBS)' make --directory=sage $(DEB_BUILD_TARGET)
+	MAKE='make -j$(NUMJOBS)' PREREQ_OPTIONS="--prefix=$(SAGE_LOCAL)" \
+	  $(MAKE) --directory=sage $(DEB_BUILD_TARGET)
 	touch dh_auto_build-stamp
 
 check-dochtml-log:
@@ -98,9 +99,6 @@ check-dochtml-log:
 	# Also filter out some false positives that are not hard errors.
 	! (grep Error sage/logs/dochtml.log | grep -v "citation not found: .*Error.*")
 
-override_dh_auto_configure:
-	dh_auto_configure -Dsage -- --prefix=$(SAGE_LOCAL)
-
 # We build everything in both -arch and -indep because the tests need the docs.
 # TODO: as described in #849150, we can make this more efficient if we figure
 # out how to disable the tests that need the docs.

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/sagemath.git



More information about the debian-science-commits mailing list