Source: mailsync
Version: 5.2.2-3.1
Tags: patch
User: debian-cr...@lists.debian.org
Usertags: ftcbfs

mailsync fails to cross build from source, because it does not pass
--host to ./configure. The easiest way of fixing that - using
dh_auto_configure - makes mailsync cross buildable. Please consider
applying the attached patch.

Helmut
diff --minimal -Nru mailsync-5.2.2/debian/changelog 
mailsync-5.2.2/debian/changelog
--- mailsync-5.2.2/debian/changelog     2014-11-15 07:10:32.000000000 +0100
+++ mailsync-5.2.2/debian/changelog     2019-09-30 16:42:09.000000000 +0200
@@ -1,3 +1,10 @@
+mailsync (5.2.2-3.2) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Let dh_auto_configure pass --host to ./configure. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Mon, 30 Sep 2019 16:42:09 +0200
+
 mailsync (5.2.2-3.1) unstable; urgency=medium
 
   * Non-maintainer upload.
diff --minimal -Nru mailsync-5.2.2/debian/control mailsync-5.2.2/debian/control
--- mailsync-5.2.2/debian/control       2014-11-15 07:08:47.000000000 +0100
+++ mailsync-5.2.2/debian/control       2019-09-30 16:41:21.000000000 +0200
@@ -4,7 +4,7 @@
 Maintainer: Tomas Pospisek <tpo_...@sourcepole.ch>
 # see #685897
 #Build-Depends: debhelper (>> 3.0.0), libc-client-dev | 
libc-client-ssl2001-dev, libc-client-dev | libkrb5-dev, automake1.11, dpkg-dev 
(>= 1.16.0)
-Build-Depends: debhelper (>> 3.0.0), libc-client2007e-dev (>= 8:2007f~dfsg-1), 
automake1.11, dpkg-dev (>= 1.16.0), libkrb5-dev
+Build-Depends: debhelper (>= 7), libc-client2007e-dev (>= 8:2007f~dfsg-1), 
automake1.11, dpkg-dev (>= 1.16.0), libkrb5-dev
 Standards-Version: 3.9.3.1
 Homepage: http://mailsync.sourceforge.net/
 
diff --minimal -Nru mailsync-5.2.2/debian/rules mailsync-5.2.2/debian/rules
--- mailsync-5.2.2/debian/rules 2012-01-15 13:30:36.000000000 +0100
+++ mailsync-5.2.2/debian/rules 2019-09-30 16:41:56.000000000 +0200
@@ -25,10 +25,7 @@
                 found=1                                                      ; 
\
           fi                                                             ; \
        done
-
-       @# Add here commands to compile the package.
-       ./configure --prefix=/usr
-
+       dh_auto_configure
        touch configure-stamp
        
 build: configure-stamp build-stamp

Reply via email to