Source: lpr
Version: 1:2008.05.17.2
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap

lpr fails to cross build from source, because it uses the build
architecture compiler. Letting dh_auto_build pass cross compilers to
make fixes that. Please consider applying the attached patch.

Helmut
diff --minimal -Nru lpr-2008.05.17.2/debian/changelog 
lpr-2008.05.17.3/debian/changelog
--- lpr-2008.05.17.2/debian/changelog   2016-09-25 15:08:29.000000000 +0200
+++ lpr-2008.05.17.3/debian/changelog   2017-10-13 13:28:42.000000000 +0200
@@ -1,3 +1,10 @@
+lpr (1:2008.05.17.3) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Let dh_auto_build pass cross compilers to make. (closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Fri, 13 Oct 2017 13:28:42 +0200
+
 lpr (1:2008.05.17.2) unstable; urgency=medium
 
   * Non-maintainer upload.
diff --minimal -Nru lpr-2008.05.17.2/debian/rules lpr-2008.05.17.3/debian/rules
--- lpr-2008.05.17.2/debian/rules       2016-09-25 15:08:29.000000000 +0200
+++ lpr-2008.05.17.3/debian/rules       2017-10-13 13:28:42.000000000 +0200
@@ -12,7 +12,7 @@
 build: build-stamp
 build-stamp:
        dh_testdir
-       make -W CFLAGS="$(CFLAGS)" CPPFLAGS="$(CPPFLAGS)"
+       dh_auto_build -- CFLAGS="$(CFLAGS)" CPPFLAGS="$(CPPFLAGS)"
        touch build-stamp
 
 clean: 

Reply via email to