From 3323759def9bd67815eff7507dc68e7e73a97ee4 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Thu, 10 Feb 2011 10:38:27 +0000 Subject: ncurses: Apply unifdef-native dependency to the task that uses it, not globally Signed-off-by: Richard Purdie --- meta/recipes-core/ncurses/ncurses_5.7.bb | 5 +++-- 1 file 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 33cc16105..d0134143d 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 -- cgit v1.2.3