Source: nasm
Version: 2.12.01-1
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap

nasm fails to cross build from source, because it does not pass --host
to ./configure. The easiest way of doing so is letting dh_auto_configure
handle it. After doing so, nasm cross builds successfully. Please apply
the attached patch.

Helmut
diff --minimal -Nru nasm-2.12.01/debian/changelog nasm-2.12.01/debian/changelog
--- nasm-2.12.01/debian/changelog       2016-04-25 20:38:28.000000000 +0200
+++ nasm-2.12.01/debian/changelog       2017-01-11 11:49:05.000000000 +0100
@@ -1,3 +1,10 @@
+nasm (2.12.01-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Let dh_auto_configure pass --host to configure (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Wed, 11 Jan 2017 11:49:05 +0100
+
 nasm (2.12.01-1) unstable; urgency=low
 
   * New upstream version 2.12.01
diff --minimal -Nru nasm-2.12.01/debian/rules nasm-2.12.01/debian/rules
--- nasm-2.12.01/debian/rules   2014-09-09 05:47:37.000000000 +0200
+++ nasm-2.12.01/debian/rules   2017-01-11 11:49:03.000000000 +0100
@@ -27,7 +27,7 @@
 build-indep: build-stamp
 build-stamp:
        dh_testdir
-       ./configure --prefix=/usr --mandir=/usr/share/man
+       dh_auto_configure
        $(MAKE) all doc
        > $@
 

Reply via email to