Source: l2tpns Version: 2.2.1-2 Tags: patch User: [email protected] Usertags: rebootstrap
l2tpns fails to cross build from source, because it does not pass cross tools to make. The easiest way of fixing that - using dh_auto_build - does not entirely fix that, because l2tpns also needs LD to be set. The attached patch fixes both and makes l2tpns cross buildable. Please consider applying it. Helmut
diff --minimal -Nru l2tpns-2.2.1/debian/changelog l2tpns-2.2.1/debian/changelog --- l2tpns-2.2.1/debian/changelog 2016-07-05 12:07:33.000000000 +0200 +++ l2tpns-2.2.1/debian/changelog 2019-05-12 06:44:30.000000000 +0200 @@ -1,3 +1,12 @@ +l2tpns (2.2.1-2.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: (Closes: #-1) + + Let dh_auto_build pass cross tools to make. + + Also pass compiler as LD. + + -- Helmut Grohne <[email protected]> Sun, 12 May 2019 06:44:30 +0200 + l2tpns (2.2.1-2) unstable; urgency=low * Fix log buffer overrun, thanks to Dave Reeve (closes: #817837) diff --minimal -Nru l2tpns-2.2.1/debian/rules l2tpns-2.2.1/debian/rules --- l2tpns-2.2.1/debian/rules 2013-06-05 00:16:33.000000000 +0200 +++ l2tpns-2.2.1/debian/rules 2019-05-12 06:44:30.000000000 +0200 @@ -20,7 +20,7 @@ dh_testdir # Add here commands to compile the package. - $(MAKE) + dh_auto_build -- LD='$$(CC)' #/usr/bin/docbook-to-man debian/l2tpns.sgml > l2tpns.1 touch build-stamp

