Bug#910321: sludge FTCBFS: does not pass --host to ./configure

Helmut Grohne helmut at subdivi.de
Thu Oct 4 19:41:20 BST 2018


Source: sludge
Version: 2.2.2-1
Tags: patch
User: helmutg at debian.org
Usertags: rebootstrap

sludge fails to cross build from source, because it attempts to perform
a native build by not passing any --host flag. The easiest way of fixing
that is using dh_auto_configure. After doing so, sludge cross builds
successfully. Please consider applying the attached patch.

Helmut
-------------- next part --------------
diff --minimal -Nru sludge-2.2.2/debian/changelog sludge-2.2.2/debian/changelog
--- sludge-2.2.2/debian/changelog	2018-09-18 19:57:35.000000000 +0200
+++ sludge-2.2.2/debian/changelog	2018-10-04 20:36:26.000000000 +0200
@@ -1,3 +1,10 @@
+sludge (2.2.2-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Let dh_auto_configure pass --host to ./configure. (Closes: #-1)
+
+ -- Helmut Grohne <helmut at subdivi.de>  Thu, 04 Oct 2018 20:36:26 +0200
+
 sludge (2.2.2-1) unstable; urgency=medium
 
   * New upstream release (Closes: #880853, #908352).
diff --minimal -Nru sludge-2.2.2/debian/rules sludge-2.2.2/debian/rules
--- sludge-2.2.2/debian/rules	2018-09-18 17:27:13.000000000 +0200
+++ sludge-2.2.2/debian/rules	2018-10-04 20:36:24.000000000 +0200
@@ -6,7 +6,7 @@
 	dh $@
 
 override_dh_auto_configure:
-	./configure --prefix=/usr --datadir=/usr/share --enable-engine --enable-devkit --enable-doc
+	dh_auto_configure -- --datadir=/usr/share --enable-engine --enable-devkit --enable-doc
 
 override_dh_auto_build:
 	xsltproc --nonet \


More information about the Pkg-games-devel mailing list