Source: rrootage Version: 0.23a-12 Tags: patch User: helm...@debian.org Usertags: rebootstrap
rrootage 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 rrootage cross buildable. Please consider applying the attached patch. Helmut
diff --minimal -Nru rrootage-0.23a/debian/changelog rrootage-0.23a/debian/changelog --- rrootage-0.23a/debian/changelog 2015-12-16 10:58:30.000000000 +0100 +++ rrootage-0.23a/debian/changelog 2019-01-05 08:33:54.000000000 +0100 @@ -1,3 +1,10 @@ +rrootage (0.23a-12.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> Sat, 05 Jan 2019 08:33:54 +0100 + rrootage (0.23a-12) unstable; urgency=medium * Team upload. diff --minimal -Nru rrootage-0.23a/debian/rules rrootage-0.23a/debian/rules --- rrootage-0.23a/debian/rules 2015-12-16 10:58:30.000000000 +0100 +++ rrootage-0.23a/debian/rules 2019-01-05 08:33:52.000000000 +0100 @@ -6,21 +6,21 @@ CFLAGS += $(shell dpkg-buildflags --get LDFLAGS) %: - dh $@ + dh $@ --sourcedirectory=src --buildsystem=makefile override_dh_auto_build: - $(MAKE) -C src -f makefile.lin MORE_CFLAGS="$(CFLAGS)" + dh_auto_build -- -f makefile.lin MORE_CFLAGS="$(CFLAGS)" override_dh_auto_clean: - $(MAKE) -C src -f makefile.lin clean + dh_auto_clean -- -f makefile.lin override_dh_installdirs-indep: dh_installdirs -i usr/share/games/rrootage -override_dh_install-indep: +override_dh_auto_install-indep: cp -r rr_share/* debian/rrootage-data/usr/share/games/rrootage -override_dh_install-arch: +override_dh_auto_install-arch: dh_install -a src/rrootage usr/games dh_install -a debian/rrootage.xpm usr/share/pixmaps dh_install -a debian/rrootage.desktop usr/share/applications