Source: openfortivpn
Version: 1.7.1-2
Tags: patch
User: [email protected]
Usertags: rebootstrap

openfortivpn fails to cross build from source, because it doesn't pass
--host to ./configure. The easiest way of doing that is using
dh_auto_configure. That's sufficient to make it cross buildable. Please
consider applying the attached patch.

Helmut
diff --minimal -Nru openfortivpn-1.7.1/debian/changelog 
openfortivpn-1.7.1/debian/changelog
--- openfortivpn-1.7.1/debian/changelog 2018-10-30 04:33:18.000000000 +0100
+++ openfortivpn-1.7.1/debian/changelog 2018-11-27 19:42:38.000000000 +0100
@@ -1,3 +1,10 @@
+openfortivpn (1.7.1-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Let dh_auto_configure pass --host to ./configure. (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]>  Tue, 27 Nov 2018 19:42:38 +0100
+
 openfortivpn (1.7.1-2) unstable; urgency=medium
 
   * debian/patches
diff --minimal -Nru openfortivpn-1.7.1/debian/rules 
openfortivpn-1.7.1/debian/rules
--- openfortivpn-1.7.1/debian/rules     2018-07-02 03:25:30.000000000 +0200
+++ openfortivpn-1.7.1/debian/rules     2018-11-27 19:40:37.000000000 +0100
@@ -23,7 +23,7 @@
 override_dh_auto_configure:
        aclocal
        automake --add-missing
-       ./configure --prefix=/usr --sysconfdir=/etc
+       dh_auto_configure
 
 override_dh_installdocs:
        dh_installdocs README.md

Reply via email to