[oe] [meta-oe][PATCH 15/17] rtorrent: Add and enable ipv6 packageconfig based on DISTRO_FEATURES
Khem Raj
raj.khem at gmail.com
Fri Jun 30 12:59:55 UTC 2017
Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
meta-oe/recipes-connectivity/rtorrent/rtorrent_git.bb | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/meta-oe/recipes-connectivity/rtorrent/rtorrent_git.bb b/meta-oe/recipes-connectivity/rtorrent/rtorrent_git.bb
index af1c4d656..c731cf707 100644
--- a/meta-oe/recipes-connectivity/rtorrent/rtorrent_git.bb
+++ b/meta-oe/recipes-connectivity/rtorrent/rtorrent_git.bb
@@ -14,6 +14,10 @@ PV = "0.9.6+git${SRCPV}"
S = "${WORKDIR}/git"
+PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)}"
+
+PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6,"
+
inherit autotools pkgconfig
do_configure_prepend() {
--
2.13.2
More information about the Openembedded-devel
mailing list