Source: dcap Version: 2.47.12-2 Tags: patch User: debian-cr...@lists.debian.org Usertags: ftcbfs
dcap fails to cross build from source, because it does not pass --host to ./configure. The easiest way of doing so - using dh_auto_configure - makes dcap cross buildable. Please consider applying the attached patch. Helmut
diff --minimal -Nru dcap-2.47.12/debian/changelog dcap-2.47.12/debian/changelog --- dcap-2.47.12/debian/changelog 2018-02-28 22:09:40.000000000 +0100 +++ dcap-2.47.12/debian/changelog 2020-12-21 12:48:33.000000000 +0100 @@ -1,3 +1,10 @@ +dcap (2.47.12-2.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Let dh_auto_configure pass --host to configure. (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Mon, 21 Dec 2020 12:48:33 +0100 + dcap (2.47.12-2) unstable; urgency=medium * Fix an implicit declaration warning diff --minimal -Nru dcap-2.47.12/debian/rules dcap-2.47.12/debian/rules --- dcap-2.47.12/debian/rules 2017-08-12 10:10:20.000000000 +0200 +++ dcap-2.47.12/debian/rules 2020-12-21 12:48:32.000000000 +0100 @@ -3,8 +3,6 @@ -include /usr/share/dpkg/buildflags.mk -DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) - INSTALLDIR = $(CURDIR)/debian/tmp configure: configure-stamp @@ -16,9 +14,7 @@ CFLAGS="$(CFLAGS)" CPPFLAGS="$(CPPFLAGS)" \ LDFLAGS="$(LDFLAGS) -Wl,-z,defs" \ - ./configure \ - --prefix=/usr \ - --libdir='$${prefix}/lib/$(DEB_HOST_MULTIARCH)' \ + dh_auto_configure -- \ --with-globus-include=/usr/include/globus \ --with-globus-lib=/dummy \ --with-tunneldir='$${libdir}/dcap'