Patchwork python: enable IPv6 based on DISTRO_FEATURES

login
register
mail settings
Submitter danismostlikely@gmail.com
Date June 3, 2013, 11:12 p.m.
Message ID <1370301147-4582-2-git-send-email-danismostlikely@gmail.com>
Download mbox | patch
Permalink /patch/51117/
State Accepted
Commit 6956fb01e0c7332e4d8b59cbcb1cd997c54191fc
Headers show

Comments

danismostlikely@gmail.com - June 3, 2013, 11:12 p.m.
From: Dan McGregor <dan.mcgregor@usask.ca>

Base this on DISTRO_FEATURES, because we don't want it
unconditionally enabled.
---
 meta/recipes-devtools/python/python.inc | 1 +
 1 file changed, 1 insertion(+)

Patch

diff --git a/meta/recipes-devtools/python/python.inc b/meta/recipes-devtools/python/python.inc
index d0ed55b..80609a8 100644
--- a/meta/recipes-devtools/python/python.inc
+++ b/meta/recipes-devtools/python/python.inc
@@ -27,5 +27,6 @@  EXTRA_OECONF = "\
   --with-signal-module \
   --with-wctype-functions \
   --enable-shared \
+  --enable-ipv6=${@base_contains('DISTRO_FEATURES', 'ipv6', 'yes', 'no', d)} \
   ${PYTHONLSBOPTS} \
 "