Bug#926606: hawknl FTCBFS: does not pass cross tools to make

Helmut Grohne helmut at subdivi.de
Sun Apr 7 19:40:35 BST 2019


Source: hawknl
Version: 1.6.8+dfsg2-1
Tags: patch
User: helmutg at debian.org
Usertags: rebootstrap

hawknl 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
hawknl cross buildable. Please consider applying the attached patch.

Helmut
-------------- next part --------------
diff -u hawknl-1.6.8+dfsg2/debian/changelog hawknl-1.6.8+dfsg2/debian/changelog
--- hawknl-1.6.8+dfsg2/debian/changelog
+++ hawknl-1.6.8+dfsg2/debian/changelog
@@ -1,3 +1,10 @@
+hawknl (1.6.8+dfsg2-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Let dh_auto_build pass cross tools to make. (Closes: #-1)
+
+ -- Helmut Grohne <helmut at subdivi.de>  Sun, 07 Apr 2019 20:38:09 +0200
+
 hawknl (1.6.8+dfsg2-1) unstable; urgency=low
 
   [ Barry deFreese ]
diff -u hawknl-1.6.8+dfsg2/debian/rules hawknl-1.6.8+dfsg2/debian/rules
--- hawknl-1.6.8+dfsg2/debian/rules
+++ hawknl-1.6.8+dfsg2/debian/rules
@@ -31,7 +31,7 @@
 build-stamp: 
 	dh_testdir
 
-	$(MAKE) -C src -f makefile.linux
+	dh_auto_build --sourcedirectory=src --buildsystem=makefile -- -f makefile.linux
 
 	touch build-stamp
 
diff -u hawknl-1.6.8+dfsg2/debian/control hawknl-1.6.8+dfsg2/debian/control
--- hawknl-1.6.8+dfsg2/debian/control
+++ hawknl-1.6.8+dfsg2/debian/control
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Debian Games Team <pkg-games-devel at lists.alioth.debian.org>
 Uploaders: Barry deFreese <bdefreese at debian.org>
-Build-Depends: debhelper (>= 5.0.0), quilt
+Build-Depends: debhelper (>= 7), quilt
 Standards-Version: 3.8.3
 Homepage: http://hawksoft.com/hawknl/
 Vcs-Git: git://git.debian.org/pkg-games/hawknl.git


More information about the Pkg-games-devel mailing list