Source: conntrack-tools
Version: 1:1.4.5-1
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap

conntrack-tools fails to cross build from source, because it does not
pass --host to ./configure. The easiest way to fix that is deferring the
task to dh_auto_configure. After doing so, conntrack-tools cross builds
successfully. Please consider applying the attached patch.

Helmut
diff --minimal -Nru conntrack-tools-1.4.5/debian/changelog 
conntrack-tools-1.4.5/debian/changelog
--- conntrack-tools-1.4.5/debian/changelog      2018-05-01 12:59:52.000000000 
+0200
+++ conntrack-tools-1.4.5/debian/changelog      2018-05-17 06:03:41.000000000 
+0200
@@ -1,3 +1,11 @@
+conntrack-tools (1:1.4.5-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>  Thu, 17 May 2018 06:03:41 +0200
+
 conntrack-tools (1:1.4.5-1) unstable; urgency=medium
 
   * [9fa49d0] d/control: point VCS-* to salsa.debian.org
diff --minimal -Nru conntrack-tools-1.4.5/debian/rules 
conntrack-tools-1.4.5/debian/rules
--- conntrack-tools-1.4.5/debian/rules  2018-05-01 12:51:37.000000000 +0200
+++ conntrack-tools-1.4.5/debian/rules  2018-05-17 06:03:41.000000000 +0200
@@ -7,7 +7,7 @@
        dh $@
 
 override_dh_auto_configure:
-       ./configure --prefix=/usr --disable-silent-rules --enable-systemd
+       dh_auto_configure -- --libdir='$${prefix}/lib' --enable-systemd
 
 override_dh_strip:
        dh_strip --dbgsym-migration='conntrack-tools-dbg (<< 
1:1.4.4+snapshot20161117-1)'

Reply via email to