Source: bugsquish
Version: 0.0.6-8
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap

bugsquish fails to cross build from source, because it does not pass
cross tools (e.g. CC) to bugsquish. The easiest way of doing so is using
dh_auto_build. That is sufficient to make bugsquish cross buildable.
Please consider applying the attached patch.

Helmut
diff --minimal -Nru bugsquish-0.0.6/debian/changelog 
bugsquish-0.0.6/debian/changelog
--- bugsquish-0.0.6/debian/changelog    2014-10-23 21:48:44.000000000 +0200
+++ bugsquish-0.0.6/debian/changelog    2018-08-16 17:37:44.000000000 +0200
@@ -1,3 +1,10 @@
+bugsquish (0.0.6-8.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>  Thu, 16 Aug 2018 17:37:44 +0200
+
 bugsquish (0.0.6-8) unstable; urgency=low
 
   * do not install upstream changeglog twice
diff --minimal -Nru bugsquish-0.0.6/debian/rules bugsquish-0.0.6/debian/rules
--- bugsquish-0.0.6/debian/rules        2014-10-23 21:57:11.000000000 +0200
+++ bugsquish-0.0.6/debian/rules        2018-08-16 17:37:43.000000000 +0200
@@ -30,7 +30,7 @@
        dh_testdir
 
        # Add here commands to compile the package.
-       $(MAKE) DEB_CFLAGS="$(DEB_CFLAGS)" \
+       dh_auto_build -- DEB_CFLAGS="$(DEB_CFLAGS)" \
                DEB_LDFLAGS="$(DEB_LDFLAGS)" \
                DATA_PREFIX=$(DESTDIR)/usr/share/games/$(TARGET)/
 

Reply via email to