Source: t50
Version: 5.8.3-2
Tags: patch
User: debian-cr...@lists.debian.org
Usertags: ftcbfs

t50 fails to cross build from source. The presence of a ./configure file
instructs debhelper to use the autoconf build system. With the autoconf
build system, debhelper expects to pass the host architecture to
./configure, but this ./configure doesn't do all that much. In the
autoconf buildsystem, dh_auto_build does not pass cross tools to make,
but that's what's needed here. So the attached patch switches the build
system for the dh_auto_build step to make t50 cross buildable. Please
consider applying it.

Helmut
diff --minimal -Nru t50-5.8.3/debian/changelog t50-5.8.3/debian/changelog
--- t50-5.8.3/debian/changelog  2019-05-14 00:44:32.000000000 +0200
+++ t50-5.8.3/debian/changelog  2019-06-08 10:44:30.000000000 +0200
@@ -1,3 +1,10 @@
+t50 (5.8.3-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Use the makefile buildsystem for dh_auto_build. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Sat, 08 Jun 2019 10:44:30 +0200
+
 t50 (5.8.3-2) unstable; urgency=medium
 
   * d/p/01_Fix-Makefile.patch: Remove buggy Arch detection and specific flags.
diff --minimal -Nru t50-5.8.3/debian/rules t50-5.8.3/debian/rules
--- t50-5.8.3/debian/rules      2019-05-14 00:44:32.000000000 +0200
+++ t50-5.8.3/debian/rules      2019-06-08 10:44:29.000000000 +0200
@@ -3,3 +3,6 @@
 
 %:
        dh $@
+
+override_dh_auto_build:
+       dh_auto_build --buildsystem=makefile

Reply via email to