Source: gwaei
Version: 3.6.2-6
Tags: patch
User: [email protected]
Usertags: rebootstrap

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

Helmut
diff --minimal -Nru gwaei-3.6.2/debian/changelog gwaei-3.6.2/debian/changelog
--- gwaei-3.6.2/debian/changelog        2019-03-03 01:26:40.000000000 +0100
+++ gwaei-3.6.2/debian/changelog        2019-05-12 06:42:24.000000000 +0200
@@ -1,3 +1,10 @@
+gwaei (3.6.2-6.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Let dh_auto_configure pass --host to ./configure. (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]>  Sun, 12 May 2019 06:42:24 +0200
+
 gwaei (3.6.2-6) unstable; urgency=medium
 
   * update VCS and email
diff --minimal -Nru gwaei-3.6.2/debian/rules gwaei-3.6.2/debian/rules
--- gwaei-3.6.2/debian/rules    2019-03-03 01:26:40.000000000 +0100
+++ gwaei-3.6.2/debian/rules    2019-05-12 06:42:24.000000000 +0200
@@ -50,9 +50,9 @@
 config-stamp: configure
        dh_testdir
        dh_autoreconf
-       CFLAGS="$(CFLAGS)" ./configure --prefix=/usr    \
+       CFLAGS="$(CFLAGS)" dh_auto_configure -- \
                --sysconfdir=/usr/share \
-               --mandir=/usr/share/man \
+               --libdir='$${prefix}/lib' \
                --disable-scrollkeeper
        # convert png icons to xpm so that we can use them with menu system
        #for i in 16x16 24x24 32x32 ; do \

Reply via email to