Bug#929865: espeakup FTCBFS: does not pass cross tools to make

Helmut Grohne helmut at subdivi.de
Sun Jun 2 06:19:51 BST 2019


Source: espeakup
Version: 1:0.80-15
Tags: patch
User: debian-cross at lists.debian.org
Usertags: ftcbfs

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

Helmut
-------------- next part --------------
diff --minimal -Nru espeakup-0.80/debian/changelog espeakup-0.80/debian/changelog
--- espeakup-0.80/debian/changelog	2019-05-18 16:37:19.000000000 +0200
+++ espeakup-0.80/debian/changelog	2019-06-02 07:16:24.000000000 +0200
@@ -1,3 +1,10 @@
+espeakup (1:0.80-15.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Let dh_auto_build pass cross tools to make. (Closes: #-1)
+
+ -- Helmut Grohne <helmut at subdivi.de>  Sun, 02 Jun 2019 07:16:24 +0200
+
 espeakup (1:0.80-15) unstable; urgency=medium
 
   * debian/espeakup-udeb.start: Wait longer for sound cards...
diff --minimal -Nru espeakup-0.80/debian/rules espeakup-0.80/debian/rules
--- espeakup-0.80/debian/rules	2019-03-29 19:03:48.000000000 +0100
+++ espeakup-0.80/debian/rules	2019-06-02 07:16:21.000000000 +0200
@@ -18,13 +18,13 @@
 	rm -fr espeakup-udeb
 
 override_dh_auto_build:
-	$(MAKE)
+	dh_auto_build
 
 	mkdir espeakup-udeb
 	ln *.c *.h espeakup-udeb/
 	ln Makefile espeakup-udeb/
 
-	CPPFLAGS="" CFLAGS="$(UDEB_CFLAGS)" $(MAKE) -C espeakup-udeb LDLIBS="$(UDEB_LDLIBS)" LDFLAGS="$(UDEB_LDFLAGS)"
+	CPPFLAGS="" CFLAGS="$(UDEB_CFLAGS)" dh_auto_build --sourcedirectory=espeakup-udeb -- LDLIBS="$(UDEB_LDLIBS)" LDFLAGS="$(UDEB_LDFLAGS)"
 
 override_dh_auto_install:
 	$(MAKE) install DESTDIR=`pwd`/debian/espeakup PREFIX=/usr


More information about the Pkg-a11y-devel mailing list