[oe-commits] [meta-openembedded] 15/27: mtr: control ipv6 support based on DISTRO_FEATURES
git at git.openembedded.org
git at git.openembedded.org
Mon Sep 5 11:34:19 UTC 2016
martin_jansa pushed a commit to branch master-next
in repository meta-openembedded.
commit 895cdbe628cca68334dd9282dcb647f358fad093
Author: Jackie Huang <jackie.huang at windriver.com>
AuthorDate: Wed Aug 24 17:06:52 2016 +0800
mtr: control ipv6 support based on DISTRO_FEATURES
Add PACKAGECONFIG for ipv6 and control it based
on DISTRO_FEATURES.
Signed-off-by: Jackie Huang <jackie.huang at windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
meta-networking/recipes-support/mtr/mtr_0.86.bb | 2 ++
1 file changed, 2 insertions(+)
diff --git a/meta-networking/recipes-support/mtr/mtr_0.86.bb b/meta-networking/recipes-support/mtr/mtr_0.86.bb
index 7b73791..1d8a2cf 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,"
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list