[Debian-med-packaging] Bug#948133: plink FTCBFS: does not pass cross tools to make

Helmut Grohne helmut at subdivi.de
Sat Jan 4 12:14:59 GMT 2020


Source: plink
Version: 1.07+dfsg-2
Tags: patch
User: debian-cross at lists.debian.org
Usertags: ftcbfs

plink fails to cross build from source, because it does not pass cross
tools to make. The easiest way of doing so - using dh_auto_build - makes
plink cross buildable. Please consider applying the attached patch.

Helmut
-------------- next part --------------
diff --minimal -Nru plink-1.07+dfsg/debian/changelog plink-1.07+dfsg/debian/changelog
--- plink-1.07+dfsg/debian/changelog	2018-09-19 08:03:29.000000000 +0200
+++ plink-1.07+dfsg/debian/changelog	2020-01-04 13:08:06.000000000 +0100
@@ -1,3 +1,10 @@
+plink (1.07+dfsg-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Let dh_auto_build pass cross tools to make. (Closes: #-1)
+
+ -- Helmut Grohne <helmut at subdivi.de>  Sat, 04 Jan 2020 13:08:06 +0100
+
 plink (1.07+dfsg-2) unstable; urgency=medium
 
   * cme fix dpkg-control
diff --minimal -Nru plink-1.07+dfsg/debian/rules plink-1.07+dfsg/debian/rules
--- plink-1.07+dfsg/debian/rules	2018-09-19 08:03:29.000000000 +0200
+++ plink-1.07+dfsg/debian/rules	2020-01-04 13:08:05.000000000 +0100
@@ -21,7 +21,7 @@
 	rm -f plink
 
 override_dh_auto_build:
-	$(MAKE) CXXFLAGS='$(CXXFLAGS)' FORCE_DYNAMIC=1
+	dh_auto_build -- CXXFLAGS='$(CXXFLAGS)' FORCE_DYNAMIC=1
 
 override_dh_installexamples:
 	dh_installexamples


More information about the Debian-med-packaging mailing list