Source: libxaw3dxft
Version: 1.6.2e-2
Tags: patch
User: debian-cr...@lists.debian.org
Usertags: ftcbfs

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

Helmut
diff --minimal -Nru libxaw3dxft-1.6.2e/debian/changelog 
libxaw3dxft-1.6.2e/debian/changelog
--- libxaw3dxft-1.6.2e/debian/changelog 2018-12-31 17:35:18.000000000 +0100
+++ libxaw3dxft-1.6.2e/debian/changelog 2020-01-25 05:45:20.000000000 +0100
@@ -1,3 +1,10 @@
+libxaw3dxft (1.6.2e-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Let dh_auto_configure pass --host to ./configure. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Sat, 25 Jan 2020 05:45:20 +0100
+
 libxaw3dxft (1.6.2e-2) unstable; urgency=medium
 
   * Bump debhelper compat level from 9 to 11:
diff --minimal -Nru libxaw3dxft-1.6.2e/debian/rules 
libxaw3dxft-1.6.2e/debian/rules
--- libxaw3dxft-1.6.2e/debian/rules     2018-12-31 17:35:18.000000000 +0100
+++ libxaw3dxft-1.6.2e/debian/rules     2020-01-25 05:45:20.000000000 +0100
@@ -7,7 +7,7 @@
        dh $@
 
 override_dh_auto_configure:
-       ./configure --prefix=/usr --enable-internationalization \
+       dh_auto_configure -- --libdir='$${prefix}/lib' 
--enable-internationalization \
        --enable-arrow-scrollbars
 
 override_dh_auto_install:

Reply via email to