Source: nomarch
Version: 1.4-3
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap

nomarch fails to cross build from source, because it uses the build
architecture compiler. dh_auto_build knows how to pass cross compilers
to make. Simply replacing $(MAKE) with dh_auto_build fixes the cross
build. Please consider applying the attached patch after stretch is
released.

Helmut
diff -u nomarch-1.4/debian/rules nomarch-1.4/debian/rules
--- nomarch-1.4/debian/rules
+++ nomarch-1.4/debian/rules
@@ -26,7 +26,7 @@
        dh_testdir
 
        # Add here commands to compile the package.
-       $(MAKE)
+       dh_auto_build
        #/usr/bin/docbook-to-man debian/nomarch.sgml > nomarch.1
 
        touch build-stamp
diff -u nomarch-1.4/debian/changelog nomarch-1.4/debian/changelog
--- nomarch-1.4/debian/changelog
+++ nomarch-1.4/debian/changelog
@@ -1,3 +1,10 @@
+nomarch (1.4-3.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 16:49:56 +0200
+
 nomarch (1.4-3) unstable; urgency=low
 
   * Update standards version to 3.8.3. 

Reply via email to