From 73fa6a99128d299733612779ffd504d280520e1f Mon Sep 17 00:00:00 2001 From: Zhu Yanjun Date: Wed, 4 May 2016 11:32:22 +0800 Subject: net-snmp: enable ipv6 support Add packageconfig for ipv6 and enable it when it's defined in distro_features. Signed-off-by: Zhu Yanjun Signed-off-by: Yue Tao Signed-off-by: Martin Jansa --- 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 1a5093217b..ee8878f9de 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 ??= "${@bb.utils.contains('DISTRO_FEATURES', 'ipv6', 'ipv6', '', d)}" +PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6,," + EXTRA_OECONF = "--disable-embedded-perl \ --with-perl-modules=no \ --disable-manuals \ -- cgit 1.2.3-korg