summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-02-10 10:38:27 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-02-10 12:01:04 +0000
commit3323759def9bd67815eff7507dc68e7e73a97ee4 (patch)
tree7e38f2b9fcc0f7c9af5ea1a22ae13073c3b6a27a
parentd1a1635a458233a29ea8998e74eec11c856ee371 (diff)
downloadpoky-3323759def9bd67815eff7507dc68e7e73a97ee4.tar.gz
poky-3323759def9bd67815eff7507dc68e7e73a97ee4.tar.bz2
poky-3323759def9bd67815eff7507dc68e7e73a97ee4.zip
ncurses: Apply unifdef-native dependency to the task that uses it, not globally
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-core/ncurses/ncurses_5.7.bb5
1 files changed, 3 insertions, 2 deletions
diff --git a/meta/recipes-core/ncurses/ncurses_5.7.bb b/meta/recipes-core/ncurses/ncurses_5.7.bb
index 33cc16105b..d0134143d0 100644
--- a/meta/recipes-core/ncurses/ncurses_5.7.bb
+++ b/meta/recipes-core/ncurses/ncurses_5.7.bb
@@ -7,8 +7,8 @@ PATCHDATE = "20100501"
PKGV = "${PV}+${PATCHDATE}"
PR = "r0"
-DEPENDS = "ncurses-native unifdef-native"
-DEPENDS_virtclass-native = "unifdef-native"
+DEPENDS = "ncurses-native"
+DEPENDS_virtclass-native = ""
inherit autotools binconfig
@@ -99,6 +99,7 @@ _unifdef_cleanup = " \
-e '\!^/\* .* \*/!d' \
"
+do_test[depends] = "unifdef-native:do_populate_sysroot"
do_test[dirs] = "${S}"
do_test() {
${ENABLE_WIDEC} || return 0