Source: gkrellm
Version: 2.3.10-1
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap

gkrellm fails to cross build from source, because it uses the build
architecture toolchain. The fix is surprisingly simple: Let
dh_auto_build pass the right flags. Please consider applying the
attached patch.

Helmut
diff --minimal -Nru gkrellm-2.3.10/debian/changelog 
gkrellm-2.3.10/debian/changelog
--- gkrellm-2.3.10/debian/changelog     2016-12-10 18:46:49.000000000 +0100
+++ gkrellm-2.3.10/debian/changelog     2017-09-18 16:29:39.000000000 +0200
@@ -1,3 +1,10 @@
+gkrellm (2.3.10-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Let dh_auto_build pass cross compilers to make; Closes: #-1
+
+ -- Helmut Grohne <hel...@subdivi.de>  Mon, 18 Sep 2017 16:29:39 +0200
+
 gkrellm (2.3.10-1) unstable; urgency=medium
 
   * [c820afb] New upstream version 2.3.10
diff --minimal -Nru gkrellm-2.3.10/debian/rules gkrellm-2.3.10/debian/rules
--- gkrellm-2.3.10/debian/rules 2016-12-10 18:46:49.000000000 +0100
+++ gkrellm-2.3.10/debian/rules 2017-09-18 16:29:03.000000000 +0200
@@ -7,7 +7,7 @@
        dh_installinit -u"defaults 21"
 
 override_dh_auto_build:
-       $(MAKE) PREFIX=/usr without-ssl=1
+       dh_auto_build -- PREFIX=/usr without-ssl=1
 
 override_dh_auto_install:
        $(MAKE) install DESTDIR=`pwd`/debian/tmp PREFIX=/usr

Reply via email to