net-snmp: enable ipv6 support
PATCH 1/1 net-snmp: enable ipv6 support
From: Zhu Yanjun <[email protected]>
Add packageconfig for ipv6 and enable it when it's defined in distro_features.
Signed-off-by Zhu Yanjun <[email protected]>
Signed-off-by Yue Tao <[email protected]>
--- meta-networking/recipes-protocols/net-snmp/net-snmp_5.7.3.bb | 3 +++ 1 file changed, 3 insertions(+)
meta-networking/recipes-protocols/net-snmp/net-snmp_5.7.3.bb +3 -0
@@ -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 \
Signature · 1 line
1.9.1
Quoted 15 lines · Yue Tao
From: Zhu Yanjun <[email protected]>
Add packageconfig for ipv6 and enable it when it's defined in
distro_features.Signed-off-by Zhu Yanjun <[email protected]>Signed-off-by Yue Tao <[email protected]>--- meta-networking/recipes-protocols/net-snmp/net-snmp_5.7.3.bb | 3 +++ 1 file changed, 3 insertions(+)meta-networking/recipes-protocols/net-snmp/net-snmp_5.7.3.bb +0
-0
meta-networking/recipes-protocols/net-snmp/net-snmp_5.7.3.bb PACKAGECONFIG ??= "" · line 43
Quoted 5 lines
meta-networking/recipes-protocols/net-snmp/net-snmp_5.7.3.bb +2
-0@@ -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,,"
Don't use deprecated base_contains
I've fixed it in master-next.
Quoted 12 lines
meta-networking/recipes-protocols/net-snmp/net-snmp_5.7.3.bb +1
-0+ EXTRA_OECONF = "--disable-embedded-perl \ --with-perl-modules=no \ --disable-manuals \Signature · 7 lines
1.9.1 -- _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]