[SCM] givaro: library for arithmetic and algebraic computations branch, master, updated. debian/3.2.13-1.3-26-gbc88bd9
Lifeng Sun
lifongsun at gmail.com
Sat Jul 14 13:10:38 UTC 2012
The following commit has been merged in the master branch:
commit bc88bd94314b8616394128b2d21c6d508cc4f415
Author: Lifeng Sun <lifongsun at gmail.com>
Date: Sat Jul 14 17:01:02 2012 +0000
Fix deadlock on hurd-i386.
diff --git a/debian/rules b/debian/rules
index 5078eee..c6eae82 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,10 +11,10 @@ CPPFLAGS := $(shell dpkg-buildflags --get CPPFLAGS)
CXXFLAGS := $(shell dpkg-buildflags --get CXXFLAGS)
LDFLAGS := $(shell dpkg-buildflags --get LDFLAGS)
-DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
-
export CFLAGS CPPFLAGS CXXFLAGS LDFLAGS
+DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
+
override_dh_auto_configure:
dh_auto_configure -- --with-gmp --enable-shared \
--libdir=/usr/lib/$(DEB_HOST_MULTIARCH)
@@ -27,5 +27,11 @@ override_dh_auto_build-indep:
$(MAKE) -C docs docs_dev
rm -f docs/givaro-*html/COPYING
+dhopts :=
+
+ifneq (hurd-i386,$(shell dpkg-architecture -qDEB_BUILD_ARCH))
+dhopts := --parallel
+endif
+
%:
- dh $@ --with autotools-dev --parallel
+ dh $@ --with autotools-dev $(dhopts)
--
givaro: library for arithmetic and algebraic computations
More information about the debian-science-commits
mailing list