Source: wireless-tools Version: 30~pre9-13 Tags: patch User: helm...@debian.org Usertags: rebootstrap
wireless-tools sucessfully cross builds a broken package. The libraries are installed into the build architecture multiarch directories rather than the host architecture ones. The attached patch fixes that. Please consider applying it. Helmut
diff --minimal -Nru wireless-tools-30~pre9/debian/changelog wireless-tools-30~pre9/debian/changelog --- wireless-tools-30~pre9/debian/changelog 2018-09-15 16:35:08.000000000 +0200 +++ wireless-tools-30~pre9/debian/changelog 2018-11-09 06:16:30.000000000 +0100 @@ -1,3 +1,11 @@ +wireless-tools (30~pre9-13.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix misbuild: install to host architecture multiarch directory. + (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Fri, 09 Nov 2018 06:16:30 +0100 + wireless-tools (30~pre9-13) unstable; urgency=medium * Call /sbin/ip instead of ifconfg in if-pre-up script. (Closes: 908886) diff --minimal -Nru wireless-tools-30~pre9/debian/rules wireless-tools-30~pre9/debian/rules --- wireless-tools-30~pre9/debian/rules 2018-09-15 16:28:38.000000000 +0200 +++ wireless-tools-30~pre9/debian/rules 2018-11-09 06:16:30.000000000 +0100 @@ -1,5 +1,7 @@ #!/usr/bin/make -f +include /usr/share/dpkg/architecture.mk + %: dh $@ @@ -7,7 +9,7 @@ dh_auto_build -- all libiw.a override_dh_auto_install: - dh_auto_install -- install install-static PREFIX=debian/tmp + dh_auto_install -- install install-static PREFIX=debian/tmp ARCH=$(DEB_HOST_MULTIARCH) # Hack to make udeb friendly binaries $(MAKE) clean dh_auto_build -- BUILD_NOLIBM=y CFLAGS="-Os -I."