ncurses: Apply unifdef-native dependency to the task that uses it, not globally

Signed-off-by: Richard  Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie 2011-02-10 10:38:27 +00:00
parent d1a1635a45
commit 3323759def
1 changed files with 3 additions and 2 deletions

View File

@ -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