Source: libstorj
Version: 1.0.3-1
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap

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

Helmut
diff --minimal -Nru libstorj-1.0.3/debian/changelog 
libstorj-1.0.3/debian/changelog
--- libstorj-1.0.3/debian/changelog     2018-12-30 18:48:58.000000000 +0100
+++ libstorj-1.0.3/debian/changelog     2019-05-27 21:45:38.000000000 +0200
@@ -1,3 +1,10 @@
+libstorj (1.0.3-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Let dh_auto_configure pass --host to ./configure. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Mon, 27 May 2019 21:45:38 +0200
+
 libstorj (1.0.3-1) unstable; urgency=medium
 
   * New upstream release (1.0.3).
diff --minimal -Nru libstorj-1.0.3/debian/rules libstorj-1.0.3/debian/rules
--- libstorj-1.0.3/debian/rules 2018-12-30 18:48:58.000000000 +0100
+++ libstorj-1.0.3/debian/rules 2019-05-27 21:45:38.000000000 +0200
@@ -10,8 +10,7 @@
 
 override_dh_auto_configure:
        $(CURDIR)/autogen.sh
-       ./configure --prefix=/usr
-       #dh_auto_configure
+       dh_auto_configure -- --libdir='$${prefix}/lib'
 
 override_dh_auto_clean:
        dh_auto_clean

Reply via email to