Source: procmeter3
Version: 3.6-2
Tags: patch
User: [email protected]
Usertags: ftcbfs

procmeter3 fails to cross build from source, because it does not pass
cross tools to make. Using dh_auto_build mostly fixes that except for a
compiler copy in LD, which needs to be passed explicitly. Please
consider applying the attached patch.

Helmut
diff --minimal -Nru procmeter3-3.6/debian/changelog 
procmeter3-3.6/debian/changelog
--- procmeter3-3.6/debian/changelog     2019-01-05 19:04:01.000000000 +0100
+++ procmeter3-3.6/debian/changelog     2019-10-23 10:50:38.000000000 +0200
@@ -1,3 +1,10 @@
+procmeter3 (3.6-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Let dh_auto_build pass cross tools to make. (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]>  Wed, 23 Oct 2019 10:50:38 +0200
+
 procmeter3 (3.6-2) unstable; urgency=medium
 
   * Add co-maintainer.
diff --minimal -Nru procmeter3-3.6/debian/rules procmeter3-3.6/debian/rules
--- procmeter3-3.6/debian/rules 2019-01-05 19:04:01.000000000 +0100
+++ procmeter3-3.6/debian/rules 2019-10-23 10:50:38.000000000 +0200
@@ -7,7 +7,7 @@
 %:
        dh $@
 override_dh_auto_build:
-       $(MAKE) all INSTDIR=/usr RC_PATH=/etc
+       dh_auto_build -- all INSTDIR=/usr RC_PATH=/etc LD='$$(CC)'
 
 override_dh_auto_clean:
        [ ! -f Makefile ] || $(MAKE) -i distclean

Reply via email to