Source: lprng
Version: 3.8.B-2.1
Tags: patch
User: [email protected]
Usertags: rebootstrap

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

Helmut
diff --minimal -Nru lprng-3.8.B/debian/changelog lprng-3.8.B/debian/changelog
--- lprng-3.8.B/debian/changelog        2017-02-08 21:20:30.000000000 +0100
+++ lprng-3.8.B/debian/changelog        2018-12-07 14:10:03.000000000 +0100
@@ -1,3 +1,10 @@
+lprng (3.8.B-2.2) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Let dh_auto_configure pass --host to ./configure. (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]>  Fri, 07 Dec 2018 14:10:03 +0100
+
 lprng (3.8.B-2.1) unstable; urgency=medium
 
   * Non-maintainer upload.
diff --minimal -Nru lprng-3.8.B/debian/rules lprng-3.8.B/debian/rules
--- lprng-3.8.B/debian/rules    2012-06-11 09:56:24.000000000 +0200
+++ lprng-3.8.B/debian/rules    2018-12-07 14:10:01.000000000 +0100
@@ -11,9 +11,7 @@
        # Required to stop timestamp skew
        touch configure.in && touch aclocal.m4 && touch configure
 
-       ./configure $(confflags) \
-               --prefix=/usr \
-               --sysconfdir=/etc \
+       dh_auto_configure -- $(confflags) \
                --with-config_subdir=lprng \
                
--with-filterdir=\$${prefix}/lib/${DEB_HOST_MULTIARCH}/lprng/filters \
                --with-lockfile=/var/run/lprng/lpd \

Reply via email to