Source: cdtool
Version: 2.1.8-release-4
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap

cdtool fails to cross build from source, because it does not pass a
suitable --host flag to ./configure. Switching to dh_auto_configure is
the obvious solution here, but care has to be taken to not change
--libdir. After applying the attached patch, cdtool cross builds and
does not move any files. Please consider applying it.

Helmut
diff --minimal -Nru cdtool-2.1.8-release/debian/changelog 
cdtool-2.1.8-release/debian/changelog
--- cdtool-2.1.8-release/debian/changelog       2016-02-13 18:39:54.000000000 
+0100
+++ cdtool-2.1.8-release/debian/changelog       2017-06-23 18:46:32.000000000 
+0200
@@ -1,3 +1,10 @@
+cdtool (2.1.8-release-4.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Let dh_auto_configure pass --host. (Closes #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Fri, 23 Jun 2017 18:46:32 +0200
+
 cdtool (2.1.8-release-4) unstable; urgency=medium
 
   * New maintainer. (Closes: #419334.)
diff --minimal -Nru cdtool-2.1.8-release/debian/rules 
cdtool-2.1.8-release/debian/rules
--- cdtool-2.1.8-release/debian/rules   2016-01-29 23:50:20.000000000 +0100
+++ cdtool-2.1.8-release/debian/rules   2017-06-23 18:46:32.000000000 +0200
@@ -6,4 +6,4 @@
        dh $@ --with autoreconf
 
 override_dh_auto_configure:
-       ./configure --prefix=/usr
+       dh_auto_configure -- --libdir=/usr/lib

Reply via email to