Source: bplay
Version: 0.991-10
Tags: patch
User: [email protected]
Usertags: rebootstrap

bplay fails to cross build from source, because it does not pass a cross
compiler to make. The easiest way of doing so is using dh_auto_build.
Then bplay cross builds successfully. Please consider applying the
attached patch.

Helmut
diff -u bplay-0.991/debian/changelog bplay-0.991/debian/changelog
--- bplay-0.991/debian/changelog
+++ bplay-0.991/debian/changelog
@@ -1,3 +1,10 @@
+bplay (0.991-10.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Let dh_auto_build pass cross tools to make. (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]>  Sun, 10 Jun 2018 19:29:31 +0200
+
 bplay (0.991-10) unstable; urgency=low
 
   * Install the manpages. (Closes: #327759)
diff -u bplay-0.991/debian/control bplay-0.991/debian/control
--- bplay-0.991/debian/control
+++ bplay-0.991/debian/control
@@ -2,7 +2,7 @@
 Section: sound
 Priority: optional
 Maintainer: Carlos Laviola <[email protected]>
-Build-Depends: debhelper (>> 5.0.0)
+Build-Depends: debhelper (>= 7)
 Standards-Version: 3.7.2.2
 
 Package: bplay
diff -u bplay-0.991/debian/rules bplay-0.991/debian/rules
--- bplay-0.991/debian/rules
+++ bplay-0.991/debian/rules
@@ -27,7 +27,7 @@
 build-stamp:
        dh_testdir
        dh_clean
-       $(MAKE) CFLAGS="$(CFLAGS)"
+       dh_auto_build -- CFLAGS="$(CFLAGS)"
        touch build-stamp
 
 clean:

Reply via email to