Source: cal Version: 4.0-3 Tags: patch User: [email protected] Usertags: rebootstrap
cal fails to cross build from source, because it does not pass cross tools to make. The easiest way of doing so is using dh_auto_build and that is sufficient to make cal cross buildable. Please consider applying the attached patch. Helmut
diff --minimal -Nru cal-4.0/debian/changelog cal-4.0/debian/changelog --- cal-4.0/debian/changelog 2012-02-26 16:05:08.000000000 +0100 +++ cal-4.0/debian/changelog 2018-12-02 12:19:09.000000000 +0100 @@ -1,3 +1,10 @@ +cal (4.0-3.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, 02 Dec 2018 12:19:09 +0100 + cal (4.0-3) unstable; urgency=low * Change the postinst script so that dpkg-maintscript-helper is only called diff --minimal -Nru cal-4.0/debian/rules cal-4.0/debian/rules --- cal-4.0/debian/rules 2010-12-02 02:43:51.000000000 +0100 +++ cal-4.0/debian/rules 2018-12-02 12:19:06.000000000 +0100 @@ -7,15 +7,15 @@ #export DH_VERBOSE=1 %: - dh --with quilt $@ + dh --with quilt $@ --sourcedirectory=src --buildsystem=makefile override_dh_auto_clean: - $(MAKE) -C src -f makefile.unx clean + dh_auto_clean -- -f makefile.unx override_dh_auto_build: - $(MAKE) -C src -f makefile.unx + dh_auto_build -- -f makefile.unx override_dh_auto_install: - $(MAKE) -C src -f makefile.unx install MANDIR=`pwd`/debian/ccal/usr/share/man BINDIR=`pwd`/debian/ccal/usr/bin + dh_auto_install -- -f makefile.unx MANDIR=`pwd`/debian/ccal/usr/share/man BINDIR=`pwd`/debian/ccal/usr/bin install -m 644 calcol.unx debian/ccal/etc/cal.col

