Source: ctorrent
Version: 1.3.4.dnh3.3.2-5
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap

ctorrent fails to cross build from source, because fails passing the
relevant --host flag to ./configure. The easiest way of doing so is
deferring the task to dh_auto_configure. After doing so, ctorrent cross
builds successfully. Please consider applying the attached patch.

Helmut
diff --minimal -Nru ctorrent-1.3.4.dnh3.3.2/debian/changelog 
ctorrent-1.3.4.dnh3.3.2/debian/changelog
--- ctorrent-1.3.4.dnh3.3.2/debian/changelog    2016-12-07 22:57:46.000000000 
+0100
+++ ctorrent-1.3.4.dnh3.3.2/debian/changelog    2018-04-05 06:08:50.000000000 
+0200
@@ -1,3 +1,10 @@
+ctorrent (1.3.4.dnh3.3.2-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, 05 Apr 2018 06:08:50 +0200
+
 ctorrent (1.3.4.dnh3.3.2-5) unstable; urgency=low
 
   * Orphaning package. 
diff --minimal -Nru ctorrent-1.3.4.dnh3.3.2/debian/rules 
ctorrent-1.3.4.dnh3.3.2/debian/rules
--- ctorrent-1.3.4.dnh3.3.2/debian/rules        2012-04-15 16:40:42.000000000 
+0200
+++ ctorrent-1.3.4.dnh3.3.2/debian/rules        2018-04-05 06:08:45.000000000 
+0200
@@ -1,7 +1,7 @@
 #!/usr/bin/make -f
 
 override_dh_auto_configure:
-               ./configure --prefix=/usr $(shell dpkg-buildflags 
--export=configure) --with-ssl=no
+       dh_auto_configure -- $(shell dpkg-buildflags --export=configure) 
--with-ssl=no
 
 %:
        dh $@ 

Reply via email to