Source: madbomber
Version: 0.2.5-7
Tags: patch
User: [email protected]
Usertags: rebootstrap

madbomber fails to cross build from source, because debian/rules does
not pass cross tools to make. The easiest way of doing so is using
dh_auto_build. Indeed that makes madbomber cross buildable. Please
consider applying the attached patch.

Helmut
diff --minimal -Nru madbomber-0.2.5/debian/changelog 
madbomber-0.2.5/debian/changelog
--- madbomber-0.2.5/debian/changelog    2016-02-15 22:16:50.000000000 +0100
+++ madbomber-0.2.5/debian/changelog    2018-06-18 14:51:11.000000000 +0200
@@ -1,3 +1,10 @@
+madbomber (0.2.5-7.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Let dh_auto_build pass cross tools to make. (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]>  Mon, 18 Jun 2018 14:51:11 +0200
+
 madbomber (0.2.5-7) unstable; urgency=medium
 
   * create install-arch and install-indep targets (closes: #806071)
diff --minimal -Nru madbomber-0.2.5/debian/rules madbomber-0.2.5/debian/rules
--- madbomber-0.2.5/debian/rules        2016-02-14 22:10:08.000000000 +0100
+++ madbomber-0.2.5/debian/rules        2018-06-18 14:50:54.000000000 +0200
@@ -14,7 +14,7 @@
        -rm -rf data/embedded/images/title/.xvpics
 
 override_dh_auto_build:
-       make -j1 DATA_PREFIX=/usr/share/games/madbomber/
+       dh_auto_build --no-parallel -- DATA_PREFIX=/usr/share/games/madbomber/
 
 override_dh_auto_install-indep:
        make install-indep \

Reply via email to