Bug#929420: libsieve FTCBFS: does not pass --host to ./configure
Source: libsieve
Version: 2.2.6-2
Tags: patch
User: helmutg@debian.org
Usertags: rebootstrap
libsieve fails to cross build from source, because it does not pass
--host to ./configure. The easiest way of fixing that - using
dh_auto_configure - makes libsieve cross buildable. Please consider
applying the attached patch.
Helmut
diff -u libsieve-2.2.6/debian/changelog libsieve-2.2.6/debian/changelog
--- libsieve-2.2.6/debian/changelog
+++ libsieve-2.2.6/debian/changelog
@@ -1,3 +1,9 @@
+libsieve (2.2.6-3) UNRELEASED; urgency=medium
+
+ * Fix FTCBFS: Let dh_auto_configure pass --host to ./configure. (Closes: #-1)
+
+ -- Helmut Grohne <helmut@subdivi.de> Thu, 23 May 2019 06:12:17 +0200
+
libsieve (2.2.6-2) unstable; urgency=medium
* QA upload.
diff -u libsieve-2.2.6/debian/rules libsieve-2.2.6/debian/rules
--- libsieve-2.2.6/debian/rules
+++ libsieve-2.2.6/debian/rules
@@ -32,8 +32,8 @@
configure-stamp:
dh_testdir
test -d debian/orig || mkdir debian/orig
- cd src && (autoreconf -f -i && ./configure --prefix=/usr)
- #cd src && ./configure --prefix=/usr
+ cd src && autoreconf -f -i
+ dh_auto_configure --sourcedirectory=src -- --libdir='$${prefix}/lib'
touch $@
build: build-stamp
Reply to: