Source: empire
Version: 1.14-1
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap

empire fails to cross build from source, because it does not pass cross
compilers to make. The easiest way of doing it, is letting dh_auto_build
do it. After using dh_auto_build, empire cross builds successfully.
Please consider applying the attached patch.

Helmut
diff --minimal -Nru empire-1.14/debian/changelog empire-1.14/debian/changelog
--- empire-1.14/debian/changelog        2016-01-05 13:31:14.000000000 +0100
+++ empire-1.14/debian/changelog        2018-05-27 15:15:24.000000000 +0200
@@ -1,3 +1,10 @@
+empire (1.14-1.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>  Sun, 27 May 2018 15:15:24 +0200
+
 empire (1.14-1) unstable; urgency=medium
 
   * Imported Upstream version 1.14. (Closes: #809992)
diff --minimal -Nru empire-1.14/debian/rules empire-1.14/debian/rules
--- empire-1.14/debian/rules    2016-01-05 13:31:14.000000000 +0100
+++ empire-1.14/debian/rules    2018-05-27 15:15:22.000000000 +0200
@@ -7,7 +7,7 @@
        dh $@ --parallel
 
 override_dh_auto_build:
-       $(MAKE) CFLAGS="$(CFLAGS)" PROFILE="$(LDFLAGS)"
+       dh_auto_build -- CFLAGS="$(CFLAGS)" PROFILE="$(LDFLAGS)"
        convert -monitor -resize 32x32 vms-empire.png vms-empire.xpm
 
 override_dh_auto_install:

Reply via email to