Source: empire-hub
Version: 1.0.2.2
Tags: patch
User: debian-cr...@lists.debian.org
Usertags: ftcbfs

empire-hub fails to cross build from source, because it does not pass
cross tools to make. The easiest way of doing so - using dh_auto_build -
makes empire-hub cross buildable. Please consider applying the attached
patch.

Helmut
diff --minimal -Nru empire-hub-1.0.2.2/debian/changelog 
empire-hub-1.0.2.2+nmu1/debian/changelog
--- empire-hub-1.0.2.2/debian/changelog 2016-12-19 09:37:19.000000000 +0100
+++ empire-hub-1.0.2.2+nmu1/debian/changelog    2019-10-09 07:59:14.000000000 
+0200
@@ -1,3 +1,10 @@
+empire-hub (1.0.2.2+nmu1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Let dh_auto_build pass cross tools to make. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Wed, 09 Oct 2019 07:59:14 +0200
+
 empire-hub (1.0.2.2) unstable; urgency=medium
 
   * debian/control:
diff --minimal -Nru empire-hub-1.0.2.2/debian/rules 
empire-hub-1.0.2.2+nmu1/debian/rules
--- empire-hub-1.0.2.2/debian/rules     2016-12-19 09:37:19.000000000 +0100
+++ empire-hub-1.0.2.2+nmu1/debian/rules        2019-10-09 07:59:13.000000000 
+0200
@@ -10,7 +10,7 @@
 build-stamp:
        dh_testdir
 # Add here commands to compile the package.
-       make CFLAGS="$(shell dpkg-buildflags --get CFLAGS)" \
+       dh_auto_build -- CFLAGS="$(shell dpkg-buildflags --get CFLAGS)" \
             LDFLAGS="$(shell dpkg-buildflags --get LDFLAGS)"
        touch build-stamp
 

Reply via email to