Source: libmatchbox
Version: 1.9-osso8-5
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap

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

Helmut
diff --minimal -Nru libmatchbox-1.9-osso8/debian/changelog 
libmatchbox-1.9-osso8/debian/changelog
--- libmatchbox-1.9-osso8/debian/changelog      2018-10-24 19:28:52.000000000 
+0200
+++ libmatchbox-1.9-osso8/debian/changelog      2018-12-13 21:03:40.000000000 
+0100
@@ -1,3 +1,10 @@
+libmatchbox (1.9-osso8-5.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Let dh_auto_configure pass --host to ./configure. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Thu, 13 Dec 2018 21:03:40 +0100
+
 libmatchbox (1.9-osso8-5) unstable; urgency=medium
 
   * Update standards version.
diff --minimal -Nru libmatchbox-1.9-osso8/debian/rules 
libmatchbox-1.9-osso8/debian/rules
--- libmatchbox-1.9-osso8/debian/rules  2018-10-24 19:28:52.000000000 +0200
+++ libmatchbox-1.9-osso8/debian/rules  2018-12-13 21:03:36.000000000 +0100
@@ -1,7 +1,5 @@
 #!/usr/bin/make -f
 
-DEB_HOST_MULTIARCH  ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
-
 export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
 
 %:
@@ -23,4 +21,4 @@
        dh_clean
 
 override_dh_auto_configure:
-       ./configure --prefix=/usr 
--libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) --enable-pango --enable-jpeg 
--enable-png --enable-doxygen-docs
+       dh_auto_configure -- --enable-pango --enable-jpeg --enable-png 
--enable-doxygen-docs

Reply via email to