From 20681efaff1a251e5134ac0310ea17b7fdfed441 Mon Sep 17 00:00:00 2001 From: Jackie Huang Date: Wed, 24 Aug 2016 17:06:59 +0800 Subject: znc: control ipv6 support based on DISTRO_FEATURES Add PACKAGECONFIG for ipv6 and control it based on DISTRO_FEATURES. Signed-off-by: Jackie Huang Signed-off-by: Martin Jansa Signed-off-by: Joe MacDonald --- meta-networking/recipes-irc/znc/znc_git.bb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'meta-networking/recipes-irc') diff --git a/meta-networking/recipes-irc/znc/znc_git.bb b/meta-networking/recipes-irc/znc/znc_git.bb index 22aecbad2d..f3345a9443 100644 --- a/meta-networking/recipes-irc/znc/znc_git.bb +++ b/meta-networking/recipes-irc/znc/znc_git.bb @@ -21,6 +21,9 @@ S = "${WORKDIR}/git" inherit autotools-brokensep pkgconfig +PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'ipv6', 'ipv6', '', d)}" +PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6," + # ZNC has a custom autogen.sh that states that this command is needed *and* expected to fail do_configure_prepend() { automake --add-missing || true -- cgit 1.2.3-korg