Source: xwpe
Version: 1.5.30a-2.1
Tags: patch
User: [email protected]
Usertags: ftcbfs

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

Helmut
diff --minimal -Nru xwpe-1.5.30a/debian/changelog xwpe-1.5.30a/debian/changelog
--- xwpe-1.5.30a/debian/changelog       2010-05-09 02:13:20.000000000 +0200
+++ xwpe-1.5.30a/debian/changelog       2019-12-27 17:45:03.000000000 +0100
@@ -1,3 +1,10 @@
+xwpe (1.5.30a-2.2) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Let dh_auto_configure pass --host to ./configure. (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]>  Fri, 27 Dec 2019 17:45:03 +0100
+
 xwpe (1.5.30a-2.1) unstable; urgency=low
 
   [ Jari Aalto ]
diff --minimal -Nru xwpe-1.5.30a/debian/rules xwpe-1.5.30a/debian/rules
--- xwpe-1.5.30a/debian/rules   2010-05-09 01:50:27.000000000 +0200
+++ xwpe-1.5.30a/debian/rules   2019-12-27 17:45:01.000000000 +0100
@@ -12,9 +12,7 @@
 build-stamp:
        dh_testdir
 
-       PRNTCMD=lpr ./configure --prefix=/usr \
-                               --libdir='$${prefix}/share' \
-                               --mandir='$${prefix}/share/man'
+       PRNTCMD=lpr dh_auto_configure
        $(MAKE)
 
        > $@

Reply via email to