Source: gopher
Version: 3.0.17.3
Tags: patch
User: debian-cr...@lists.debian.org
Usertags: ftcbfs

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

Helmut
diff --minimal -Nru gopher-3.0.17.3/debian/changelog 
gopher-3.0.17.3+nmu1/debian/changelog
--- gopher-3.0.17.3/debian/changelog    2019-10-11 18:09:18.000000000 +0200
+++ gopher-3.0.17.3+nmu1/debian/changelog       2020-02-07 17:10:55.000000000 
+0100
@@ -1,3 +1,10 @@
+gopher (3.0.17.3+nmu1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Let dh_auto_configure pass --host to ./configure. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Fri, 07 Feb 2020 17:10:55 +0100
+
 gopher (3.0.17.3) unstable; urgency=medium
 
   * Remove empty directories.  Closes: #942181.
diff --minimal -Nru gopher-3.0.17.3/debian/rules 
gopher-3.0.17.3+nmu1/debian/rules
--- gopher-3.0.17.3/debian/rules        2019-10-11 18:09:07.000000000 +0200
+++ gopher-3.0.17.3+nmu1/debian/rules   2020-02-07 17:10:54.000000000 +0100
@@ -19,10 +19,7 @@
        autoconf
        autoheader
        ln -vs /usr/share/gnulib/lib/getloadavg.c .
-       ./configure --prefix=/usr --mandir=\$${prefix}/share/man \
-               --infodir=\$${prefix}/share/info --disable-auth \
-               --sysconfdir=/etc
-
+       dh_auto_configure -- --disable-auth
        touch configure-stamp
 
 build: build-stamp

Reply via email to