Source: gztool
Version: 0.11.2-2
Tags: patch
User: debian-cr...@lists.debian.org
Usertags: ftcbfs

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

Helmut
diff --minimal -Nru gztool-0.11.2/debian/changelog 
gztool-0.11.2/debian/changelog
--- gztool-0.11.2/debian/changelog      2020-06-12 18:50:34.000000000 +0200
+++ gztool-0.11.2/debian/changelog      2020-06-13 15:07:04.000000000 +0200
@@ -1,3 +1,10 @@
+gztool (0.11.2-2.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>  Sat, 13 Jun 2020 15:07:04 +0200
+
 gztool (0.11.2-2) unstable; urgency=medium
 
   * Source-only upload.
diff --minimal -Nru gztool-0.11.2/debian/rules gztool-0.11.2/debian/rules
--- gztool-0.11.2/debian/rules  2020-05-29 14:57:28.000000000 +0200
+++ gztool-0.11.2/debian/rules  2020-06-13 15:07:04.000000000 +0200
@@ -9,4 +9,4 @@
        dh $@
 
 override_dh_auto_build:
-       make gztool LDLIBS="-lz -lm"
+       dh_auto_build --buildsystem=makefile -- gztool LDLIBS="-lz -lm"

Reply via email to