aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/python/python_2.6.1.bb
diff options
context:
space:
mode:
authorChris Larson <clarson@mvista.com>2009-12-17 09:49:18 -0700
committerChris Larson <clarson@mvista.com>2009-12-17 09:50:19 -0700
commita7c752d20f6a2623470734a0054e078aea4400b4 (patch)
tree21c17093c8ba73548de0f1a304035754e436e62f /recipes/python/python_2.6.1.bb
parentbce205408597e3ced6790ae484325ee5e5ba6d06 (diff)
downloadopenembedded-a7c752d20f6a2623470734a0054e078aea4400b4.tar.gz
python: only dep on tk if tk is in DISTRO_FEATURES.
Signed-off-by: Chris Larson <clarson@mvista.com>
Diffstat (limited to 'recipes/python/python_2.6.1.bb')
-rw-r--r--recipes/python/python_2.6.1.bb3
1 files changed, 2 insertions, 1 deletions
diff --git a/recipes/python/python_2.6.1.bb b/recipes/python/python_2.6.1.bb
index 0a6a253ae0..cc73dd77d6 100644
--- a/recipes/python/python_2.6.1.bb
+++ b/recipes/python/python_2.6.1.bb
@@ -1,5 +1,6 @@
require python.inc
-DEPENDS = "python-native db gdbm openssl readline sqlite3 tcl tk zlib"
+DEPENDS = "python-native db gdbm openssl readline sqlite3 tcl zlib\
+ ${@base_contains('DISTRO_FEATURES', 'tk', 'tk', '', d)}"
DEPENDS_sharprom = "python-native db readline zlib gdbm openssl"
PR = "${INC_PR}.0"