[oe-commits] [meta-openembedded] 11/16: openldap: control ipv6 support via DISTRO_FEATURES

git at git.openembedded.org git at git.openembedded.org
Fri Mar 18 12:45:36 UTC 2016


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

commit 2574896f192cdccc44fb4da9b97f83cd4e5a8e1c
Author: Richard Tollerton <rich.tollerton at ni.com>
AuthorDate: Thu Mar 17 16:23:45 2016 +0200

    openldap: control ipv6 support via DISTRO_FEATURES
    
    Explicitly disable ipv6 support if the distro does not include it.
    
    Signed-off-by: Richard Tollerton <rich.tollerton at ni.com>
    Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
 meta-oe/recipes-support/openldap/openldap_2.4.43.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta-oe/recipes-support/openldap/openldap_2.4.43.bb b/meta-oe/recipes-support/openldap/openldap_2.4.43.bb
index 9670f1a..8618365 100644
--- a/meta-oe/recipes-support/openldap/openldap_2.4.43.bb
+++ b/meta-oe/recipes-support/openldap/openldap_2.4.43.bb
@@ -53,6 +53,7 @@ EXTRA_OECONF += "--enable-dynamic"
 
 PACKAGECONFIG ??= "gnutls modules \
                    ldap meta monitor null passwd shell proxycache dnssrv \
+                   ${@bb.utils.contains('DISTRO_FEATURES', 'ipv6', 'ipv6', '', d)} \
 "
 #--with-tls              with TLS/SSL support auto|openssl|gnutls [auto]
 PACKAGECONFIG[gnutls] = "--with-tls=gnutls,,gnutls libgcrypt"
@@ -60,6 +61,7 @@ PACKAGECONFIG[openssl] = "--with-tls=openssl,,openssl"
 
 PACKAGECONFIG[sasl] = "--with-cyrus-sasl,--without-cyrus-sasl,cyrus-sasl"
 PACKAGECONFIG[modules] = "lt_cv_dlopen_self=yes --enable-modules,--disable-modules,libtool"
+PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6"
 
 # SLAPD options
 #

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


More information about the Openembedded-commits mailing list