[SCM] wxMaxima packaging branch, master, updated. debian/0.8.1-1-1-g404e45b
Frank S. Thomas
fst at debian.org
Sun Jun 28 10:09:42 UTC 2009
The following commit has been merged in the master branch:
commit 404e45bc50e8c2b95716b30a6aa5f98d2a14d35c
Author: Frank S. Thomas <fst at debian.org>
Date: Sun Jun 28 12:03:16 2009 +0200
Set configure's build and host options properly.
diff --git a/debian/changelog b/debian/changelog
index cc8a7a6..774543d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+wxmaxima (0.8.1-2) UNRELEASED; urgency=low
+
+ * debian/rules:
+ - Set configure's --build and --host options properly according to the
+ autotools-dev documentation.
+
+ -- Frank S. Thomas <fst at debian.org> Sun, 28 Jun 2009 11:51:28 +0200
+
wxmaxima (0.8.1-1) unstable; urgency=low
* New upstream release. (closes: #484281, #508181)
diff --git a/debian/rules b/debian/rules
index 00e47a4..6411e64 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,10 +1,24 @@
#!/usr/bin/make -f
+# These are used for cross-compiling and for saving the configure script
+# from having to guess our platform (since we know it already). Refer to
+# the section "Calling GNU configure properly" in
+# /usr/share/doc/autotools-dev/README.Debian.gz for more details.
+export DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+export DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+
+ifeq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE))
+ confflags += --build $(DEB_HOST_GNU_TYPE)
+else
+ confflags += --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE)
+endif
+
%:
dh $@ --with quilt
override_dh_auto_configure:
dh_auto_configure -- \
+ $(confflags) \
--enable-unicode-glyphs \
--enable-printing \
CXXFLAGS="$(CXXFLAGS) -Wall" \
--
wxMaxima packaging
More information about the debian-science-commits
mailing list