[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#947973: fspanel FTCBFS: does not pass cross tools to make



Source: fspanel
Version: 0.7-15
Tags: patch
User: debian-cross@lists.debian.org
Usertags: ftcbfs

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

Helmut
diff --minimal -Nru fspanel-0.7/debian/changelog fspanel-0.7/debian/changelog
--- fspanel-0.7/debian/changelog	2019-12-31 16:10:52.000000000 +0100
+++ fspanel-0.7/debian/changelog	2020-01-02 22:24:12.000000000 +0100
@@ -1,3 +1,9 @@
+fspanel (0.7-16) UNRELEASED; urgency=medium
+
+  * Fix FTCBFS: Let dh_auto_build pass cross tools to make. (Closes: #-1)
+
+ -- Helmut Grohne <helmut@subdivi.de>  Thu, 02 Jan 2020 22:24:12 +0100
+
 fspanel (0.7-15) unstable; urgency=medium
 
   [ Giovani Augusto Ferreira ]
diff --minimal -Nru fspanel-0.7/debian/rules fspanel-0.7/debian/rules
--- fspanel-0.7/debian/rules	2019-12-31 16:10:52.000000000 +0100
+++ fspanel-0.7/debian/rules	2020-01-02 22:24:11.000000000 +0100
@@ -13,7 +13,7 @@
 	# Do nothing. See files debian/{install,manpages}
 
 override_dh_auto_build:
-	$(MAKE) EXTRA_CFLAGS="$(CFLAGS) $(CPPFLAGS) $(LDFLAGS)"
+	dh_auto_build -- EXTRA_CFLAGS="$(CFLAGS) $(CPPFLAGS) $(LDFLAGS)"
 
 %:
 	dh $@

Reply to: