Source: hashcash Version: 1.21-2 Tags: patch User: helm...@debian.org Usertags: rebootstrap
hashcash 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 hashcash cross buildable. Please consider applying the attached patch. Helmut
diff -u hashcash-1.21/debian/changelog hashcash-1.21/debian/changelog --- hashcash-1.21/debian/changelog +++ hashcash-1.21/debian/changelog @@ -1,3 +1,9 @@ +hashcash (1.21-3) UNRELEASED; urgency=medium + + * Fix FTCBFS: Let dh_auto_build pass cross tools to make. (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Tue, 14 May 2019 06:19:40 +0200 + hashcash (1.21-2) unstable; urgency=medium * QA upload. diff -u hashcash-1.21/debian/rules hashcash-1.21/debian/rules --- hashcash-1.21/debian/rules +++ hashcash-1.21/debian/rules @@ -10,10 +10,6 @@ INSTALL = /usr/bin/install -ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) - INSTALL_PROGRAM += -s -endif - CFLAGS = `dpkg-buildflags --get CFLAGS` CFLAGS += -Wall -DREGEXP_POSIX CFLAGS += `dpkg-buildflags --get CPPFLAGS` @@ -49,7 +45,7 @@ dh_testdir # Add here commands to compile the package. - $(MAKE) "CFLAGS=$(CFLAGS) $(OPTFLAGS)" hashcash + dh_auto_build -- "CFLAGS=$(CFLAGS) $(OPTFLAGS)" hashcash $(MAKE) docs #/usr/bin/docbook-to-man debian/hashcash.sgml > hashcash.1