aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-connectivity
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2017-06-30 05:59:55 -0700
committerMartin Jansa <Martin.Jansa@gmail.com>2017-07-14 23:43:21 +0200
commitf5cab49989e9e0cab54f4ddb95b1d37fdcb2ac55 (patch)
tree1dc7108076ed7df8d66773e92088789187edc891 /meta-oe/recipes-connectivity
parentcf75eaaac38b7eeef0d050ba63c1fde0971806d6 (diff)
downloadmeta-openembedded-contrib-f5cab49989e9e0cab54f4ddb95b1d37fdcb2ac55.tar.gz
rtorrent: Add and enable ipv6 packageconfig based on DISTRO_FEATURES
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-connectivity')
-rw-r--r--meta-oe/recipes-connectivity/rtorrent/rtorrent_git.bb4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta-oe/recipes-connectivity/rtorrent/rtorrent_git.bb b/meta-oe/recipes-connectivity/rtorrent/rtorrent_git.bb
index af1c4d656e..c731cf7079 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() {