From f5cab49989e9e0cab54f4ddb95b1d37fdcb2ac55 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Fri, 30 Jun 2017 05:59:55 -0700 Subject: rtorrent: Add and enable ipv6 packageconfig based on DISTRO_FEATURES Signed-off-by: Khem Raj Signed-off-by: Martin Jansa --- meta-oe/recipes-connectivity/rtorrent/rtorrent_git.bb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'meta-oe/recipes-connectivity') 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() { -- cgit 1.2.3-korg