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

Bug#980129: pd-xsample FTCBFS: does not pass cross tools to make



Source: pd-xsample
Version: 0.3.2+git20170905.1.4441ae5-2
Tags: patch
User: debian-cross@lists.debian.org
Usertags: ftcbfs

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

Helmut
diff --minimal -Nru pd-xsample-0.3.2+git20170905.1.4441ae5/debian/changelog pd-xsample-0.3.2+git20170905.1.4441ae5/debian/changelog
--- pd-xsample-0.3.2+git20170905.1.4441ae5/debian/changelog	2018-02-01 23:44:22.000000000 +0100
+++ pd-xsample-0.3.2+git20170905.1.4441ae5/debian/changelog	2021-01-14 22:23:11.000000000 +0100
@@ -1,3 +1,10 @@
+pd-xsample (0.3.2+git20170905.1.4441ae5-2.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>  Thu, 14 Jan 2021 22:23:11 +0100
+
 pd-xsample (0.3.2+git20170905.1.4441ae5-2) unstable; urgency=medium
 
   * Enabled hardening
diff --minimal -Nru pd-xsample-0.3.2+git20170905.1.4441ae5/debian/rules pd-xsample-0.3.2+git20170905.1.4441ae5/debian/rules
--- pd-xsample-0.3.2+git20170905.1.4441ae5/debian/rules	2018-02-01 23:44:22.000000000 +0100
+++ pd-xsample-0.3.2+git20170905.1.4441ae5/debian/rules	2021-01-14 22:23:09.000000000 +0100
@@ -11,7 +11,7 @@
 	dh $@
 
 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)
diff --minimal -Nru pd-xsample-0.3.2+git20170905.1.4441ae5/debian/changelog pd-xsample-0.3.2+git20170905.1.4441ae5/debian/changelog
--- pd-xsample-0.3.2+git20170905.1.4441ae5/debian/changelog	2018-02-01 23:44:22.000000000 +0100
+++ pd-xsample-0.3.2+git20170905.1.4441ae5/debian/changelog	2021-01-14 22:23:11.000000000 +0100
@@ -1,3 +1,10 @@
+pd-xsample (0.3.2+git20170905.1.4441ae5-2.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>  Thu, 14 Jan 2021 22:23:11 +0100
+
 pd-xsample (0.3.2+git20170905.1.4441ae5-2) unstable; urgency=medium
 
   * Enabled hardening
diff --minimal -Nru pd-xsample-0.3.2+git20170905.1.4441ae5/debian/rules pd-xsample-0.3.2+git20170905.1.4441ae5/debian/rules
--- pd-xsample-0.3.2+git20170905.1.4441ae5/debian/rules	2018-02-01 23:44:22.000000000 +0100
+++ pd-xsample-0.3.2+git20170905.1.4441ae5/debian/rules	2021-01-14 22:23:09.000000000 +0100
@@ -11,7 +11,7 @@
 	dh $@
 
 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: