Source: libcli
Version: 1.9.7-2
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap

libcli fails to cross build from source, because it uses the build
architecture compiler as a make default. dh_auto_build passes cross
compilers along so once using dh_auto_build, libcli cross builds
successfully. Please consider applying the attached patch.

Helmut
diff --minimal -Nru libcli-1.9.7/debian/changelog libcli-1.9.7/debian/changelog
--- libcli-1.9.7/debian/changelog       2015-06-26 13:42:18.000000000 +0200
+++ libcli-1.9.7/debian/changelog       2018-01-30 16:16:06.000000000 +0100
@@ -1,3 +1,10 @@
+libcli (1.9.7-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Let dh_auto_build pass cross compilers to make. (closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Tue, 30 Jan 2018 16:16:06 +0100
+
 libcli (1.9.7-2) unstable; urgency=low
 
   * Fix compilation with GCC 5. Thanks to James Cowgill. (closes: #777941)
diff --minimal -Nru libcli-1.9.7/debian/rules libcli-1.9.7/debian/rules
--- libcli-1.9.7/debian/rules   2012-06-07 06:39:04.000000000 +0200
+++ libcli-1.9.7/debian/rules   2018-01-30 16:16:00.000000000 +0100
@@ -27,7 +27,7 @@
 build-indep: build-stamp
 build-stamp: configure-stamp 
        dh_testdir
-       $(MAKE) PREFIX=/usr
+       dh_auto_build -- PREFIX=/usr
        touch build-stamp
 
 clean:

Reply via email to