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

Helmut Grohne helmut at subdivi.de
Mon Sep 21 19:30:24 BST 2020


Source: sweed
Version: 3.2.1+dfsg-3
Tags: patch
User: debian-cross at lists.debian.org
Usertags: ftcbfs

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

Helmut
-------------- next part --------------
diff --minimal -Nru sweed-3.2.1+dfsg/debian/changelog sweed-3.2.1+dfsg/debian/changelog
--- sweed-3.2.1+dfsg/debian/changelog	2020-08-27 17:27:35.000000000 +0200
+++ sweed-3.2.1+dfsg/debian/changelog	2020-09-21 20:27:28.000000000 +0200
@@ -1,3 +1,10 @@
+sweed (3.2.1+dfsg-3.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>  Mon, 21 Sep 2020 20:27:28 +0200
+
 sweed (3.2.1+dfsg-3) unstable; urgency=medium
 
   * Team upload.
diff --minimal -Nru sweed-3.2.1+dfsg/debian/rules sweed-3.2.1+dfsg/debian/rules
--- sweed-3.2.1+dfsg/debian/rules	2020-08-27 17:23:33.000000000 +0200
+++ sweed-3.2.1+dfsg/debian/rules	2020-09-21 20:27:20.000000000 +0200
@@ -14,7 +14,7 @@
 	dh $@
 
 override_dh_auto_build:
-	$(MAKE) -f Makefile.gcc $*
+	dh_auto_build --buildsystem=makefile -- -f Makefile.gcc $*
 
 
 override_dh_auto_clean:


More information about the Debian-med-packaging mailing list