[oe-commits] [meta-openembedded] 47/80: stunnel: control ipv6 support based on DISTRO_FEATURES

git at git.openembedded.org git at git.openembedded.org
Wed Aug 31 17:09:06 UTC 2016


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

commit 29dd7ff978f07189d30e6b09f730188d9887224b
Author: Jackie Huang <jackie.huang at windriver.com>
AuthorDate: Wed Aug 24 17:06:55 2016 +0800

    stunnel: control ipv6 support based on DISTRO_FEATURES
    
    Add PACKAGECONFIG for ipv6 and control it based
    on DISTRO_FEATURES.
    
    Signed-off-by: Jackie Huang <jackie.huang at windriver.com>
    Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
 meta-networking/recipes-support/stunnel/stunnel_5.28.bb | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/meta-networking/recipes-support/stunnel/stunnel_5.28.bb b/meta-networking/recipes-support/stunnel/stunnel_5.28.bb
index 61be932..9891305 100644
--- a/meta-networking/recipes-support/stunnel/stunnel_5.28.bb
+++ b/meta-networking/recipes-support/stunnel/stunnel_5.28.bb
@@ -16,5 +16,8 @@ inherit autotools
 
 EXTRA_OECONF += "--with-ssl='${STAGING_EXECPREFIXDIR}' --disable-fips"
 
-PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES','systemd','systemd','',d)}"
+PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES','systemd','systemd','',d)} \
+                   ${@bb.utils.contains('DISTRO_FEATURES', 'ipv6', 'ipv6', '', d)} \
+"
 PACKAGECONFIG[systemd] = "--enable-systemd,--disable-systemd,systemd"
+PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6,"

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


More information about the Openembedded-commits mailing list