Source: mujs Version: 1.0.6-2 Tags: patch User: debian-cr...@lists.debian.org Usertags: ftcbfs
mujs fails to cross build from source, because it does not pass cross tools to make during the shared build. Using dh_auto_build is the simplest way to fix that and doing so makes mujs cross buildable. Please consider applying the attached patch. Helmut
diff --minimal -Nru mujs-1.0.6/debian/changelog mujs-1.0.6/debian/changelog --- mujs-1.0.6/debian/changelog 2020-04-11 15:33:46.000000000 +0200 +++ mujs-1.0.6/debian/changelog 2020-04-20 07:29:44.000000000 +0200 @@ -1,3 +1,10 @@ +mujs (1.0.6-2.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> Mon, 20 Apr 2020 07:29:44 +0200 + mujs (1.0.6-2) unstable; urgency=medium * Set Vcs fields diff --minimal -Nru mujs-1.0.6/debian/rules mujs-1.0.6/debian/rules --- mujs-1.0.6/debian/rules 2020-04-11 15:33:46.000000000 +0200 +++ mujs-1.0.6/debian/rules 2020-04-20 07:29:43.000000000 +0200 @@ -10,7 +10,7 @@ dh $@ override_dh_auto_build: - $(MAKE) XCFLAGS=-Wl,-soname,libmujs.so.1 shared + dh_auto_build -- XCFLAGS=-Wl,-soname,libmujs.so.1 shared dh_auto_build override_dh_auto_install: