Source: flow-tools
Version: 1:0.68-12.5
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap

flow-tools fails to cross build from source, because it does not pass
--host to ./configure. The easiest way of fixing that is using
dh_auto_configure. After doing so, it still fails to cross build due to
AC_TRY_RUN, but the failure becomes readily visible and using
dh_auto_configure simplifies debian/rules. Please consider applying the
attached patch and closing this bug when doing so.

Helmut
diff -u flow-tools-0.68/debian/changelog flow-tools-0.68/debian/changelog
--- flow-tools-0.68/debian/changelog
+++ flow-tools-0.68/debian/changelog
@@ -1,3 +1,10 @@
+flow-tools (1:0.68-12.6) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Let dh_auto_configure pass --host to ./configure. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Tue, 05 Jun 2018 06:46:04 +0200
+
 flow-tools (1:0.68-12.5) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -u flow-tools-0.68/debian/rules flow-tools-0.68/debian/rules
--- flow-tools-0.68/debian/rules
+++ flow-tools-0.68/debian/rules
@@ -44,8 +44,9 @@
 configure: config-stamp
 configure-stamp: $(CF)/Cflow.xs
        dh_testdir
-       ./configure --prefix=/usr --exec-prefix=\$${prefix} \
-               --mandir=\$${prefix}/share/man --sysconfdir=/etc/flow-tools \
+       dh_auto_configure -- \
+               --exec-prefix=\$${prefix} \
+               --sysconfdir=/etc/flow-tools \
                --localstatedir=/etc/flow-tools \
                --with-mysql --with-pgsql CFLAGS="$(CFLAGS)" 
        cd $(CF) && $(PERL) Makefile.PL INSTALLDIRS=vendor

Reply via email to