Source: nmh
Version: 1.7.1-1
Tags: patch
User: [email protected]
Usertags: rebootstrap

nmh 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 do
it. After switching to dh_auto_configure, nmh cross builds successfully.
Please consider applying the attached patch.

Helmut
diff --minimal -Nru nmh-1.7.1/debian/changelog nmh-1.7.1/debian/changelog
--- nmh-1.7.1/debian/changelog  2018-03-08 09:28:52.000000000 +0100
+++ nmh-1.7.1/debian/changelog  2018-05-27 19:46:38.000000000 +0200
@@ -1,3 +1,10 @@
+nmh (1.7.1-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Let dh_auto_configure pass --host to ./configure. (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]>  Sun, 27 May 2018 19:46:38 +0200
+
 nmh (1.7.1-1) unstable; urgency=medium
 
   * New upstream release
diff --minimal -Nru nmh-1.7.1/debian/rules nmh-1.7.1/debian/rules
--- nmh-1.7.1/debian/rules      2018-01-14 02:30:02.000000000 +0100
+++ nmh-1.7.1/debian/rules      2018-05-27 19:46:34.000000000 +0200
@@ -24,7 +24,7 @@
 build-stamp:
        dh_testdir
        dh_autoreconf
-       ./configure \
+       dh_auto_configure -- \
          --prefix= \
          --bindir='$${prefix}/usr/bin/mh' \
          --sysconfdir='$${prefix}/etc' \

Reply via email to