[oe] [meta-networking][PATCH] net-snmp: enable ipv6 support
Martin Jansa
martin.jansa at gmail.com
Thu May 5 15:20:08 UTC 2016
On Wed, May 04, 2016 at 11:32:22AM +0800, Yue Tao wrote:
> From: Zhu Yanjun <yanjun.zhu at windriver.com>
>
> 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>
> ---
> 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 1a50932..e4d7b17 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,,"
Don't use deprecated base_contains
I've fixed it in master-next.
> +
> EXTRA_OECONF = "--disable-embedded-perl \
> --with-perl-modules=no \
> --disable-manuals \
> --
> 1.9.1
>
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
--
Martin 'JaMa' Jansa jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20160505/4e71c9d9/attachment-0002.sig>
More information about the Openembedded-devel
mailing list