Source: libkaz
Version: 1.21-2
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap

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

Helmut
diff --minimal -Nru libkaz-1.21/debian/changelog libkaz-1.21/debian/changelog
--- libkaz-1.21/debian/changelog        2013-08-17 14:21:32.000000000 +0200
+++ libkaz-1.21/debian/changelog        2019-05-11 21:43:20.000000000 +0200
@@ -1,3 +1,10 @@
+libkaz (1.21-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, 11 May 2019 21:43:20 +0200
+
 libkaz (1.21-2) unstable; urgency=low
 
   * set CFLAGS properly in debian/rules
diff --minimal -Nru libkaz-1.21/debian/rules libkaz-1.21/debian/rules
--- libkaz-1.21/debian/rules    2013-08-17 14:21:32.000000000 +0200
+++ libkaz-1.21/debian/rules    2019-05-11 21:43:19.000000000 +0200
@@ -12,7 +12,7 @@
 CFLAGS := $(shell dpkg-buildflags --get CFLAGS) -fPIC -I$(CURDIR)
 
 override_dh_auto_build:
-       make -f Makefile.gcc CFLAGS="$(CFLAGS)" libkaz.a libkaz.so.1.0.0
+       dh_auto_build --buildsystem=makefile -- -f Makefile.gcc 
CFLAGS="$(CFLAGS)" libkaz.a libkaz.so.1.0.0
 
 build:
        dh build

Reply via email to