Source: pioneers
Version: 15.5-1
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap

pioneers fails to cross build from source, because it does not pass
--host to ./configure. It does so, because it runs ./configure through
./autogen.sh as that's convenient. We can disable that feature by
setting NOCONFIGURE and then letting dh_auto_configure do its job. After
doing so, pioneers cross builds successfully. Please consider applying
the attached patch.

Helmut
diff --minimal -Nru pioneers-15.5/debian/changelog 
pioneers-15.5/debian/changelog
--- pioneers-15.5/debian/changelog      2018-03-14 17:44:00.000000000 +0100
+++ pioneers-15.5/debian/changelog      2018-03-20 06:04:25.000000000 +0100
@@ -1,3 +1,10 @@
+pioneers (15.5-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Let dh_auto_configure pass its flags. (closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Tue, 20 Mar 2018 06:04:25 +0100
+
 pioneers (15.5-1) unstable; urgency=medium
 
   * New upstream release.
diff --minimal -Nru pioneers-15.5/debian/rules pioneers-15.5/debian/rules
--- pioneers-15.5/debian/rules  2018-03-07 16:58:25.000000000 +0100
+++ pioneers-15.5/debian/rules  2018-03-20 06:04:24.000000000 +0100
@@ -9,7 +9,8 @@
        dh $@
 
 override_dh_auto_configure:
-       ./autogen.sh --prefix=/usr --bindir=/usr/games --mandir=/usr/share/man \
+       NOCONFIGURE=1 ./autogen.sh
+       dh_auto_configure -- --bindir=/usr/games \
                --enable-warnings \
                --disable-dependency-tracking \
                --disable-deprecation-checks

Reply via email to