Source: 4g8
Version: 1.0-3.3
Tags: patch
User: debian-cr...@lists.debian.org
Usertags: ftcbfs

4g8 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 4g8 cross buildable. Please consider applying the attached patch.

Helmut
diff -u 4g8-1.0/debian/changelog 4g8-1.0/debian/changelog
--- 4g8-1.0/debian/changelog
+++ 4g8-1.0/debian/changelog
@@ -1,3 +1,10 @@
+4g8 (1.0-3.4) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Let dh_auto_configure pass --host to ./configure. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Sat, 24 Oct 2020 16:03:35 +0200
+
 4g8 (1.0-3.3) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -u 4g8-1.0/debian/rules 4g8-1.0/debian/rules
--- 4g8-1.0/debian/rules
+++ 4g8-1.0/debian/rules
@@ -21,7 +21,7 @@
        # Add here commands to compile the package.
        cp /usr/share/misc/config.guess /usr/share/misc/config.sub .
        chmod u+x ./configure
-       $(shell dpkg-buildflags --export=cmdline) ./configure --prefix=/usr 
--mandir=/usr/share/man
+       $(shell dpkg-buildflags --export=cmdline) dh_auto_configure
        $(MAKE)
 
        touch build-stamp

Reply via email to