Source: pd-nusmuk
Version: 20151113+repack-5
Tags: patch
User: debian-cr...@lists.debian.org
Usertags: ftcbfs

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

Helmut
diff --minimal -Nru pd-nusmuk-20151113+repack/debian/changelog 
pd-nusmuk-20151113+repack/debian/changelog
--- pd-nusmuk-20151113+repack/debian/changelog  2020-04-13 21:21:21.000000000 
+0200
+++ pd-nusmuk-20151113+repack/debian/changelog  2020-04-20 07:11:18.000000000 
+0200
@@ -1,3 +1,10 @@
+pd-nusmuk (20151113+repack-5.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Let dh_auto_build pass cross tools to make. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Mon, 20 Apr 2020 07:11:18 +0200
+
 pd-nusmuk (20151113+repack-5) unstable; urgency=medium
 
   [ Ondřej Nový ]
diff --minimal -Nru pd-nusmuk-20151113+repack/debian/rules 
pd-nusmuk-20151113+repack/debian/rules
--- pd-nusmuk-20151113+repack/debian/rules      2020-04-13 21:21:21.000000000 
+0200
+++ pd-nusmuk-20151113+repack/debian/rules      2020-04-20 07:11:15.000000000 
+0200
@@ -16,10 +16,10 @@
        dh $@ -Smakefile
 
 override_dh_auto_build:
-       make -Caudio \
+       dh_auto_build --sourcedirectory=audio -- \
                CFLAGS="$(CPPCFLAGS) $(CFLAGS)" \
                LDFLAGS="$(LDFLAGS)"
-       make -Cutils \
+       dh_auto_build --sourcedirectory=utils -- \
                CFLAGS="$(CPPCFLAGS) $(CFLAGS)" \
                LDFLAGS="$(LDFLAGS) -Wl,--export-dynamic -shared"
 

Reply via email to