Source: sludge
Version: 2.2.2-1
Tags: patch
User: helm...@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
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 <hel...@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 \

Reply via email to