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

Bug#977755: pd-pool FTCBFS: does not pass cross tools to make



Source: pd-pool
Version: 0.2.2+git20161105.1.4b157f51-1
Tags: patch
User: debian-cross@lists.debian.org
Usertags: ftcbfs

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

Helmut
diff --minimal -Nru pd-pool-0.2.2+git20161105.1.4b157f51/debian/changelog pd-pool-0.2.2+git20161105.1.4b157f51/debian/changelog
--- pd-pool-0.2.2+git20161105.1.4b157f51/debian/changelog	2018-02-01 23:31:57.000000000 +0100
+++ pd-pool-0.2.2+git20161105.1.4b157f51/debian/changelog	2020-12-20 11:13:19.000000000 +0100
@@ -1,3 +1,10 @@
+pd-pool (0.2.2+git20161105.1.4b157f51-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Let dh_auto_build pass cross tools to make. (Closes: #-1)
+
+ -- Helmut Grohne <helmut@subdivi.de>  Sun, 20 Dec 2020 11:13:19 +0100
+
 pd-pool (0.2.2+git20161105.1.4b157f51-1) unstable; urgency=medium
 
   * New upstream version 0.2.2+git20161105.1.4b157f51
diff --minimal -Nru pd-pool-0.2.2+git20161105.1.4b157f51/debian/rules pd-pool-0.2.2+git20161105.1.4b157f51/debian/rules
--- pd-pool-0.2.2+git20161105.1.4b157f51/debian/rules	2018-02-01 23:31:57.000000000 +0100
+++ pd-pool-0.2.2+git20161105.1.4b157f51/debian/rules	2020-12-20 11:13:17.000000000 +0100
@@ -11,7 +11,8 @@
 	dh $@ --without autoreconf
 
 override_dh_auto_build:
-	make -f /usr/share/pd-flext/dev/Makefile.flext \
+	dh_auto_build --buildsystem=makefile -- \
+		-f /usr/share/pd-flext/dev/Makefile.flext \
 		CFLAGS="$(CPPFLAGS) $(CFLAGS)" \
 		LDFLAGS="$(LDFLAGS)" \
 		$(empty)

Reply to: