Source: libax25 Version: 0.0.12-rc4-1 Tags: patch User: helm...@debian.org Usertags: rebootstrap
libax25 fails to cross build from source, because it configures for the build architecture by not passing --host to ./configure. Deferring that task to dh_auto_configure easily fixes the problem and makes libax25 cross build successfully. Please consider applying the attached patch. Helmut
diff --minimal -Nru libax25-0.0.12-rc4/debian/changelog libax25-0.0.12-rc4/debian/changelog --- libax25-0.0.12-rc4/debian/changelog 2015-09-03 13:29:06.000000000 +0200 +++ libax25-0.0.12-rc4/debian/changelog 2017-10-31 08:42:03.000000000 +0100 @@ -1,3 +1,10 @@ +libax25 (0.0.12-rc4-1.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Let dh_auto_configure pass --host to ./configure. (Closes #-1) + + -- Helmut Grohne <hel...@subdivi.de> Tue, 31 Oct 2017 08:42:03 +0100 + libax25 (0.0.12-rc4-1) unstable; urgency=medium * New upstream version. diff --minimal -Nru libax25-0.0.12-rc4/debian/rules libax25-0.0.12-rc4/debian/rules --- libax25-0.0.12-rc4/debian/rules 2015-09-03 13:20:23.000000000 +0200 +++ libax25-0.0.12-rc4/debian/rules 2017-10-31 08:42:03.000000000 +0100 @@ -15,7 +15,7 @@ dh_testdir dh_autoreconf chmod +x configure - ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --mandir=/usr/share/man + dh_auto_configure -- --libdir='$${prefix}/lib' # Add here commands to compile the package. $(MAKE)