Source: postal
Version: 0.75
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap

postal fails to cross build from source, because it does not pass --host
to ./configure. The easiest way of fixing that - using dh_auto_configure
- makes postal cross buildable. Please consider applying the attached
patch.

Helmut
diff --minimal -Nru postal-0.75/debian/changelog 
postal-0.75+nmu1/debian/changelog
--- postal-0.75/debian/changelog        2016-12-13 13:00:46.000000000 +0100
+++ postal-0.75+nmu1/debian/changelog   2019-04-28 12:06:46.000000000 +0200
@@ -1,3 +1,10 @@
+postal (0.75+nmu1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Let dh_auto_configure pass --host to ./configure. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Sun, 28 Apr 2019 12:06:46 +0200
+
 postal (0.75) unstable; urgency=medium
 
   * Fix some compiler warnings.
diff --minimal -Nru postal-0.75/debian/rules postal-0.75+nmu1/debian/rules
--- postal-0.75/debian/rules    2016-12-13 12:50:52.000000000 +0100
+++ postal-0.75+nmu1/debian/rules       2019-04-28 12:06:46.000000000 +0200
@@ -11,7 +11,7 @@
 
        
        # Add here commands to compile the package.
-       ./configure --prefix=`pwd`/debian/postal/usr --without-openssl
+       dh_auto_configure -- --prefix=`pwd`/debian/postal/usr --without-openssl
        $(MAKE)
 
        touch build-stamp

Reply via email to