Source: backuppc-rsync
Version: 3.1.2.1-2
Tags: patch
User: [email protected]
Usertags: ftcbfs

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

Helmut
diff --minimal -Nru backuppc-rsync-3.1.2.1/debian/changelog 
backuppc-rsync-3.1.2.1/debian/changelog
--- backuppc-rsync-3.1.2.1/debian/changelog     2020-04-19 23:28:58.000000000 
+0200
+++ backuppc-rsync-3.1.2.1/debian/changelog     2020-05-07 07:25:24.000000000 
+0200
@@ -1,3 +1,10 @@
+backuppc-rsync (3.1.2.1-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Let dh_auto_configure pass --host to ./configure. (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]>  Thu, 07 May 2020 07:25:24 +0200
+
 backuppc-rsync (3.1.2.1-2) unstable; urgency=medium
 
   * Upload nearly unmodified as source-only upload after the initial
diff --minimal -Nru backuppc-rsync-3.1.2.1/debian/rules 
backuppc-rsync-3.1.2.1/debian/rules
--- backuppc-rsync-3.1.2.1/debian/rules 2019-11-21 00:10:27.000000000 +0100
+++ backuppc-rsync-3.1.2.1/debian/rules 2020-05-07 07:25:06.000000000 +0200
@@ -15,7 +15,7 @@
        dh $@
 
 override_dh_auto_configure:
-       ./configure --with-included-zlib=no --with-included-popt=no
+       dh_auto_configure -- --with-included-zlib=no --with-included-popt=no
 
 # We are installing to /usr/libexec, see debian/install
 # Do not duplicate into /usr/bin

Reply via email to