[oe-commits] [meta-openembedded] 14/60: rtorrent: Add and enable ipv6 packageconfig based on DISTRO_FEATURES

git at git.openembedded.org git at git.openembedded.org
Fri Jul 14 21:48:01 UTC 2017


This is an automated email from the git hooks/post-receive script.

martin_jansa pushed a commit to branch master
in repository meta-openembedded.

commit f5cab49989e9e0cab54f4ddb95b1d37fdcb2ac55
Author: Khem Raj <raj.khem at gmail.com>
AuthorDate: Fri Jun 30 05:59:55 2017 -0700

    rtorrent: Add and enable ipv6 packageconfig based on DISTRO_FEATURES
    
    Signed-off-by: Khem Raj <raj.khem at gmail.com>
    Signed-off-by: Martin Jansa <Martin.Jansa 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 af1c4d6..c731cf7 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() {

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list