Source: frotz Version: 2.44-0.1 Tags: patch User: helm...@debian.org Usertags: rebootstrap
frotz fails to cross build from source, because it invokes the build architecture compiler during make install. The invocation of a compiler happens due to bad makefile dependencies. Rather than fixing the dependencies, the attached patch simply passes the right compiler. After doing so, frotz cross builds successfully. Please consider applying the attached patch. Helmut
diff --minimal -Nru frotz-2.44/debian/changelog frotz-2.44/debian/changelog --- frotz-2.44/debian/changelog 2016-01-24 15:28:54.000000000 +0100 +++ frotz-2.44/debian/changelog 2017-12-18 20:26:28.000000000 +0100 @@ -1,3 +1,10 @@ +frotz (2.44-0.2) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Also pass CC to make install. (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Mon, 18 Dec 2017 20:26:28 +0100 + frotz (2.44-0.1) unstable; urgency=medium * Non-maintainer upload. diff --minimal -Nru frotz-2.44/debian/rules frotz-2.44/debian/rules --- frotz-2.44/debian/rules 2016-01-23 18:50:21.000000000 +0100 +++ frotz-2.44/debian/rules 2017-12-18 20:26:26.000000000 +0100 @@ -3,8 +3,10 @@ # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 +-include /usr/share/dpkg/buildtools.mk + %: dh $@ override_dh_auto_install: - $(MAKE) PREFIX=$$(pwd)/debian/frotz/usr install + $(MAKE) PREFIX=$$(pwd)/debian/frotz/usr CC='$(CC)' install