From 823570b4cf804302a413cd25cd762252d84e0e4c Mon Sep 17 00:00:00 2001 From: Jackie Huang Date: Wed, 24 Aug 2016 17:06:52 +0800 Subject: mtr: control ipv6 support based on DISTRO_FEATURES Add PACKAGECONFIG for ipv6 and control it based on DISTRO_FEATURES. Signed-off-by: Jackie Huang Signed-off-by: Martin Jansa Signed-off-by: Joe MacDonald --- meta-networking/recipes-support/mtr/mtr_0.86.bb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'meta-networking/recipes-support/mtr') diff --git a/meta-networking/recipes-support/mtr/mtr_0.86.bb b/meta-networking/recipes-support/mtr/mtr_0.86.bb index 7b737916b..1d8a2cf9d 100644 --- a/meta-networking/recipes-support/mtr/mtr_0.86.bb +++ b/meta-networking/recipes-support/mtr/mtr_0.86.bb @@ -17,3 +17,5 @@ inherit autotools EXTRA_OECONF = "--without-gtk" +PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'ipv6', 'ipv6', '', d)}" +PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6," -- cgit v1.2.3-54-g00ecf