* [meta-networking][PATCH] net-snmp: enable ipv6 support
@ 2016-05-04 3:32 Yue Tao
2016-05-05 15:20 ` Martin Jansa
0 siblings, 1 reply; 2+ messages in thread
From: Yue Tao @ 2016-05-04 3:32 UTC (permalink / raw)
To: openembedded-devel; +Cc: yue.tao
From: Zhu Yanjun <yanjun.zhu@windriver.com>
Add packageconfig for ipv6 and enable it when it's defined in distro_features.
Signed-off-by: Zhu Yanjun <yanjun.zhu@windriver.com>
Signed-off-by: Yue Tao <Yue.Tao@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,,"
+
EXTRA_OECONF = "--disable-embedded-perl \
--with-perl-modules=no \
--disable-manuals \
--
1.9.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [meta-networking][PATCH] net-snmp: enable ipv6 support
2016-05-04 3:32 [meta-networking][PATCH] net-snmp: enable ipv6 support Yue Tao
@ 2016-05-05 15:20 ` Martin Jansa
0 siblings, 0 replies; 2+ messages in thread
From: Martin Jansa @ 2016-05-05 15:20 UTC (permalink / raw)
To: openembedded-devel; +Cc: yue.tao
[-- Attachment #1: Type: text/plain, Size: 1551 bytes --]
On Wed, May 04, 2016 at 11:32:22AM +0800, Yue Tao wrote:
> From: Zhu Yanjun <yanjun.zhu@windriver.com>
>
> Add packageconfig for ipv6 and enable it when it's defined in distro_features.
>
> Signed-off-by: Zhu Yanjun <yanjun.zhu@windriver.com>
> Signed-off-by: Yue Tao <Yue.Tao@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@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 188 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-05-05 15:18 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-04 3:32 [meta-networking][PATCH] net-snmp: enable ipv6 support Yue Tao
2016-05-05 15:20 ` Martin Jansa
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.