Source: gemdropx
Version: 0.9-7
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap

gemdropx fails to cross build from source, because it builds for the
build architecture as a make default. It should be passing cross tools
to make and the easiest way of doing so is deferring to dh_auto_build.
That is sufficient to make gemdropx cross buildable. Please consider
applying the attached patch.

Helmut
diff --minimal -Nru gemdropx-0.9/debian/changelog gemdropx-0.9/debian/changelog
--- gemdropx-0.9/debian/changelog       2014-10-23 22:55:09.000000000 +0200
+++ gemdropx-0.9/debian/changelog       2018-11-17 06:36:27.000000000 +0100
@@ -1,3 +1,10 @@
+gemdropx (0.9-7.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Let dh_auto_build pass cross tools to make. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Sat, 17 Nov 2018 06:36:27 +0100
+
 gemdropx (0.9-7) unstable; urgency=low
 
   * updated Standards-Version to 3.9.6
diff --minimal -Nru gemdropx-0.9/debian/rules gemdropx-0.9/debian/rules
--- gemdropx-0.9/debian/rules   2011-09-05 00:33:07.000000000 +0200
+++ gemdropx-0.9/debian/rules   2018-11-17 06:36:24.000000000 +0100
@@ -8,7 +8,7 @@
        dh $@ 
 
 override_dh_auto_build:
-       make SOUND=YES JOY=YES DATA_PREFIX=/usr/share/games/gemdropx
+       dh_auto_build -- SOUND=YES JOY=YES DATA_PREFIX=/usr/share/games/gemdropx
 
 override_dh_auto_install:
        dh_auto_install

Reply via email to