Source: silly
Version: 0.1.0-8
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap

silly fails to cross build from source, because it doesn't pass the
relevant --host flag to ./configure. The easiest way of doing so is
deferring that to dh_auto_configure and indeed after using it, silly
cross builds successfully. Please consider applying the attached patch.

Helmut
diff --minimal -Nru silly-0.1.0/debian/changelog silly-0.1.0/debian/changelog
--- silly-0.1.0/debian/changelog        2016-08-07 19:27:20.000000000 +0200
+++ silly-0.1.0/debian/changelog        2018-01-29 19:36:41.000000000 +0100
@@ -1,3 +1,10 @@
+silly (0.1.0-8.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, 29 Jan 2018 19:36:41 +0100
+
 silly (0.1.0-8) unstable; urgency=medium
 
   * Bump Standards-Version to 3.9.8.
diff --minimal -Nru silly-0.1.0/debian/rules silly-0.1.0/debian/rules
--- silly-0.1.0/debian/rules    2016-05-09 16:13:04.000000000 +0200
+++ silly-0.1.0/debian/rules    2018-01-29 19:36:38.000000000 +0100
@@ -27,7 +27,7 @@
        dh_autoreconf
        dh_testdir
        # Add here commands to configure the package.
-       ./configure --prefix=/usr --libdir=/usr/lib --includedir=/usr/include
+       dh_auto_configure -- --libdir=/usr/lib
 
 build: build-arch build-indep
 build-arch: build-stamp

Reply via email to