Source: rtklib Version: 2.4.3+dfsg1-2.1 Tags: patch User: debian-cr...@lists.debian.org Usertags: ftcbfs
rtklib fails to cross build from source, because it does not pass cross tools to some app and util makefile buildsystems. Using dh_auto_build fixes that and makes rtklib cross buildable. The attached patch fixes that and it also fixes a policy 4.6 violation. Please consider applying it. Helmut
diff --minimal -Nru rtklib-2.4.3+dfsg1/debian/changelog rtklib-2.4.3+dfsg1/debian/changelog --- rtklib-2.4.3+dfsg1/debian/changelog 2019-12-05 18:54:09.000000000 +0100 +++ rtklib-2.4.3+dfsg1/debian/changelog 2020-02-09 07:38:36.000000000 +0100 @@ -1,3 +1,10 @@ +rtklib (2.4.3+dfsg1-2.2) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Let dh_auto_build pass cross tools to make. (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Sun, 09 Feb 2020 07:38:36 +0100 + rtklib (2.4.3+dfsg1-2.1) unstable; urgency=medium * Non-maintainer upload. diff --minimal -Nru rtklib-2.4.3+dfsg1/debian/rules rtklib-2.4.3+dfsg1/debian/rules --- rtklib-2.4.3+dfsg1/debian/rules 2017-12-08 22:46:05.000000000 +0100 +++ rtklib-2.4.3+dfsg1/debian/rules 2020-02-09 07:38:34.000000000 +0100 @@ -20,8 +20,8 @@ # needed patches: https://github.com/Rescube/RTKLIB/commit/a4d665a2c6384ff270d1bfe6e6bcb5f0f3b1066c override_dh_auto_build: - for i in $(DIRS); do $(MAKE) -C app/$$i/gcc; done - $(MAKE) -C util/rnx2rtcm + set -e; for i in $(DIRS); do dh_auto_build --sourcedirectory=app/$$i/gcc; done + dh_auto_build --sourcedirectory=util/rnx2rtcm dh_auto_build override_dh_clean: