Source: moon-buggy
Version: 1:1.0.51-1
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap

moon-buggy fails to cross build from source, because it configures for
the build architecture. The easiest way of fixing this is letting
dh_auto_configure do it as is demonstrated in the attached patch. After
doing so, moon-buggy cross builds successfully. Please consider applying
the patch.

Helmut
diff --minimal -Nru moon-buggy-1.0.51/debian/changelog 
moon-buggy-1.0.51/debian/changelog
--- moon-buggy-1.0.51/debian/changelog  2017-12-30 16:27:58.000000000 +0100
+++ moon-buggy-1.0.51/debian/changelog  2018-04-04 21:31:11.000000000 +0200
@@ -1,3 +1,10 @@
+moon-buggy (1:1.0.51-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>  Wed, 04 Apr 2018 21:31:11 +0200
+
 moon-buggy (1:1.0.51-1) unstable; urgency=medium
 
   * repackage from scratch using an epoch and dh 9
diff --minimal -Nru moon-buggy-1.0.51/debian/rules 
moon-buggy-1.0.51/debian/rules
--- moon-buggy-1.0.51/debian/rules      2017-12-30 15:46:51.000000000 +0100
+++ moon-buggy-1.0.51/debian/rules      2018-04-04 21:31:05.000000000 +0200
@@ -14,11 +14,8 @@
        dh $@ --with autotools_dev
 
 override_dh_auto_configure:
-       ./configure \
-               --prefix=/usr \
+       dh_auto_configure -- \
                --bindir=/usr/games \
-               --mandir=/usr/share/man \
-               --infodir=/usr/share/info \
                --sharedstatedir=/var/games \
                --with-setgid=games 
 

Reply via email to