[Debian-med-packaging] Bug#901261: mummer FTCBFS: does not pass cross tools to make

Helmut Grohne helmut at subdivi.de
Sun Jun 10 18:28:53 BST 2018


Source: mummer
Version: 3.23+dfsg-3
Tags: patch
User: helmutg at debian.org
Usertags: rebootstrap

mummer fails to cross build from source, because it does not pass cross
tools to make. The easiest way of doing so is using dh_auto_build. After
doing so, mummer cross builds successfully. Please consider applying the
attached patch.

Helmut
-------------- next part --------------
diff --minimal -Nru mummer-3.23+dfsg/debian/changelog mummer-3.23+dfsg/debian/changelog
--- mummer-3.23+dfsg/debian/changelog	2018-02-12 00:02:05.000000000 +0100
+++ mummer-3.23+dfsg/debian/changelog	2018-06-10 19:26:30.000000000 +0200
@@ -1,3 +1,10 @@
+mummer (3.23+dfsg-3.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Let dh_auto_build pass cross tools to make. (Closes: #-1)
+
+ -- Helmut Grohne <helmut at subdivi.de>  Sun, 10 Jun 2018 19:26:30 +0200
+
 mummer (3.23+dfsg-3) unstable; urgency=low
 
   * Team upload
diff --minimal -Nru mummer-3.23+dfsg/debian/rules mummer-3.23+dfsg/debian/rules
--- mummer-3.23+dfsg/debian/rules	2018-02-04 09:06:17.000000000 +0100
+++ mummer-3.23+dfsg/debian/rules	2018-06-10 19:26:27.000000000 +0200
@@ -19,7 +19,7 @@
 override_dh_auto_build:
 	[ -d $(BIN_DIR) ] || mkdir -p $(BIN_DIR)
 	[ -d $(AUX_BIN_DIR) ] || mkdir -p $(AUX_BIN_DIR)
-	$(MAKE) BIN_DIR=$(BIN_DIR) AUX_BIN_DIR=$(AUX_BIN_DIR) \
+	dh_auto_build -- BIN_DIR=$(BIN_DIR) AUX_BIN_DIR=$(AUX_BIN_DIR) \
 	        FINAL_BIN_DIR=$(FINAL_BIN_DIR) FINAL_AUX_BIN_DIR=$(FINAL_AUX_BIN_DIR) \
 	        FINAL_SCRIPT_DIR=$(FINAL_SCRIPT_DIR) \
 	        CFLAGS="$(CFLAGS)" CXXFLAGS="$(CXXFLAGS)" LDFLAGS="$(LDFLAGS)"


More information about the Debian-med-packaging mailing list