Source: drawterm
Version: 20110822-1
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap

drawterm fails to cross build from source, because it uses the build
architecture compiler. Indirecting the $(MAKE) invocation through
dh_auto_build fixes cross compilation, because dh_auto_build knows how
to pass cross compilers. Please consider applying the attached patch
after stretch is released.

Helmut
diff --minimal -Nru drawterm-20110822/debian/changelog 
drawterm-20110822/debian/changelog
--- drawterm-20110822/debian/changelog  2012-06-11 02:32:14.000000000 +0200
+++ drawterm-20110822/debian/changelog  2017-06-10 17:43:23.000000000 +0200
@@ -1,3 +1,10 @@
+drawterm (20110822-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Let dh_auto_build pass cross compilers. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Sat, 10 Jun 2017 17:43:23 +0200
+
 drawterm (20110822-1) unstable; urgency=low
 
   * New upstream release.
diff --minimal -Nru drawterm-20110822/debian/rules 
drawterm-20110822/debian/rules
--- drawterm-20110822/debian/rules      2012-06-11 02:25:29.000000000 +0200
+++ drawterm-20110822/debian/rules      2017-06-10 17:43:22.000000000 +0200
@@ -7,7 +7,7 @@
 build-indep: build-stamp
 build-stamp:
        dh_testdir
-       $(MAKE) CONF=pthread
+       dh_auto_build -- CONF=pthread
        touch $@
 
 clean:

Reply via email to