Source: logtools
Version: 0.13e+nmu1
Tags: patch
User: debian-cr...@lists.debian.org
Usertags: ftcbfs

logtools fails to cross build from source, because it does not pass
--host to configure. The easiest way of doing so - using
dh_auto_configure - makes logtools cross build successfully. Please
consider applying the attached patch.

Helmut
diff --minimal -Nru logtools-0.13e+nmu1/debian/changelog 
logtools-0.13e+nmu2/debian/changelog
--- logtools-0.13e+nmu1/debian/changelog        2020-12-16 21:22:13.000000000 
+0100
+++ logtools-0.13e+nmu2/debian/changelog        2020-12-21 14:31:36.000000000 
+0100
@@ -1,3 +1,10 @@
+logtools (0.13e+nmu2) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Let dh_auto_configure pass --host to configure. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Mon, 21 Dec 2020 14:31:36 +0100
+
 logtools (0.13e+nmu1) unstable; urgency=medium
 
   * Non-maintainer upload.
diff --minimal -Nru logtools-0.13e+nmu1/debian/rules 
logtools-0.13e+nmu2/debian/rules
--- logtools-0.13e+nmu1/debian/rules    2020-12-16 20:34:16.000000000 +0100
+++ logtools-0.13e+nmu2/debian/rules    2020-12-21 14:31:35.000000000 +0100
@@ -9,7 +9,7 @@
 configure-stamp:
        dh_testdir
        # Add here commands to configure the package.
-       ./configure --prefix=`pwd`/debian/logtools/usr 
--mandir=\$${prefix}/share/man --sysconfdir=`pwd`/debian/logtools/etc
+       dh_auto_configure -- --prefix=`pwd`/debian/logtools/usr 
--sysconfdir=`pwd`/debian/logtools/etc
 
        touch configure-stamp
 

Reply via email to