Source: pptp-linux
Version: 1.8.0-1
Tags: patch
User: [email protected]
Usertags: rebootstrap
pptp-linux fails to cross build from source, because it uses the build
architecture compiler, which is make's default. Recent versions of
debhelper have learned to pass cross compilers via dh_auto_build, so
just switching the $(MAKE) invocation to dh_auto_build makes pptp-linux
cross buildable. Please consider applying the attached patch.
Helmut
diff -u pptp-linux-1.8.0/debian/rules pptp-linux-1.8.0/debian/rules
--- pptp-linux-1.8.0/debian/rules
+++ pptp-linux-1.8.0/debian/rules
@@ -12,7 +12,7 @@
build-stamp:
dh_testdir
- $(MAKE)
+ dh_auto_build
touch build-stamp
diff -u pptp-linux-1.8.0/debian/changelog pptp-linux-1.8.0/debian/changelog
--- pptp-linux-1.8.0/debian/changelog
+++ pptp-linux-1.8.0/debian/changelog
@@ -1,3 +1,10 @@
+pptp-linux (1.8.0-1.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Fix FTCBFS: Let dh_auto_build pass cross compilers to make. Closes: #-1.
+
+ -- Helmut Grohne <[email protected]> Tue, 01 Nov 2016 06:45:47 +0100
+
pptp-linux (1.8.0-1) unstable; urgency=low
* New upstream release. Closes: #741918.