Source: rush
Version: 1.8+dfsg-1.1
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap

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

Helmut
diff --minimal -Nru rush-1.8+dfsg/debian/changelog 
rush-1.8+dfsg/debian/changelog
--- rush-1.8+dfsg/debian/changelog      2017-10-20 18:38:32.000000000 +0200
+++ rush-1.8+dfsg/debian/changelog      2019-05-18 13:59:32.000000000 +0200
@@ -1,3 +1,10 @@
+rush (1.8+dfsg-1.2) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Let dh_auto_configure pass --host to ./configure. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Sat, 18 May 2019 13:59:32 +0200
+
 rush (1.8+dfsg-1.1) unstable; urgency=medium
 
   * Non-maintainer upload.
diff --minimal -Nru rush-1.8+dfsg/debian/rules rush-1.8+dfsg/debian/rules
--- rush-1.8+dfsg/debian/rules  2016-12-12 01:14:01.000000000 +0100
+++ rush-1.8+dfsg/debian/rules  2019-05-18 13:59:30.000000000 +0200
@@ -14,10 +14,7 @@
        dh $@ --with autoreconf
 
 override_dh_auto_configure:
-       ./configure CFLAGS="-Wall ${CFLAGS}" LDFLAGS="${LDFLAGS}" \
-                       --disable-silent-rules \
-                       --prefix=/usr \
-                       --sysconfdir=/etc \
+       dh_auto_configure -- CFLAGS="-Wall ${CFLAGS}" LDFLAGS="${LDFLAGS}" \
                        --localstatedir=/var/lib
 
 override_dh_installman:

Reply via email to