[oe-commits] [meta-openembedded] 43/46: net-snmp: enable ipv6 support

git at git.openembedded.org git at git.openembedded.org
Wed May 4 10:35:22 UTC 2016


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

commit 2486681730514e0f2f033c4efdc65f8ae20df4a5
Author: Zhu Yanjun <yanjun.zhu at windriver.com>
AuthorDate: Wed May 4 11:32:22 2016 +0800

    net-snmp: enable ipv6 support
    
    Add packageconfig for ipv6 and enable it when it's defined in distro_features.
    
    Signed-off-by: Zhu Yanjun <yanjun.zhu at windriver.com>
    Signed-off-by: Yue Tao <Yue.Tao at windriver.com>
    Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
 meta-networking/recipes-protocols/net-snmp/net-snmp_5.7.3.bb | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta-networking/recipes-protocols/net-snmp/net-snmp_5.7.3.bb b/meta-networking/recipes-protocols/net-snmp/net-snmp_5.7.3.bb
index ca8a6ba..f4eee8d 100644
--- a/meta-networking/recipes-protocols/net-snmp/net-snmp_5.7.3.bb
+++ b/meta-networking/recipes-protocols/net-snmp/net-snmp_5.7.3.bb
@@ -39,6 +39,9 @@ PACKAGECONFIG ??= ""
 PACKAGECONFIG[elfutils] = "--with-elf, --without-elf, elfutils"
 PACKAGECONFIG[libnl] = "--with-nl, --without-nl, libnl"
 
+PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'ipv6', 'ipv6', '', d)}"
+PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6,,"
+
 EXTRA_OECONF = "--disable-embedded-perl \
                 --with-perl-modules=no \
                 --disable-manuals \

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


More information about the Openembedded-commits mailing list