[oe-commits] [meta-openembedded] 03/18: openconnect: use target path to script

git at git.openembedded.org git at git.openembedded.org
Sun Feb 16 20:52:27 UTC 2020


This is an automated email from the git hooks/post-receive script.

khem pushed a commit to branch master-next
in repository meta-openembedded.

commit 2f21a8ce5fdeaf0d8c9c0ae7d2be880be73fc003
Author: Max Krummenacher <max.oss.09 at gmail.com>
AuthorDate: Sat Feb 15 16:59:35 2020 +0100

    openconnect: use target path to script
    
    openconnect puts the default absolute path to the vpnc-script into
    its binary from the --with-vpnc-script configure options.
    So do not prepend the value with the path to the OE sysroot.
    
    RDEPEND on vpnc-script to have the script from vpnc installed on target.
    
    Signed-off-by: Max Krummenacher <max.krummenacher at toradex.com>
    Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
 meta-networking/recipes-connectivity/openconnect/openconnect_8.03.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta-networking/recipes-connectivity/openconnect/openconnect_8.03.bb b/meta-networking/recipes-connectivity/openconnect/openconnect_8.03.bb
index 974ff45..597c192 100644
--- a/meta-networking/recipes-connectivity/openconnect/openconnect_8.03.bb
+++ b/meta-networking/recipes-connectivity/openconnect/openconnect_8.03.bb
@@ -9,7 +9,7 @@ SRC_URI = " \
 SRCREV = "ea73851969ae7a6ea54fdd2d2b8c94776af24b2a"
 
 DEPENDS = "vpnc libxml2 krb5 gettext-native"
-RDEPENDS_${PN} = "bash python3-core"
+RDEPENDS_${PN} = "bash python3-core vpnc-script"
 
 PACKAGECONFIG ??= "gnutls lz4 libproxy"
 
@@ -25,5 +25,5 @@ S = "${WORKDIR}/git"
 
 inherit autotools pkgconfig
 
-EXTRA_OECONF += "--with-vpnc-script=${SYSROOT_DESTDIR}${sysconfdir}/vpnc/vpnc-script \
+EXTRA_OECONF += "--with-vpnc-script=${sysconfdir}/vpnc/vpnc-script \
                  --disable-static"

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list