diff options
| author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-02-10 10:38:27 +0000 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-02-10 12:01:04 +0000 |
| commit | 3323759def9bd67815eff7507dc68e7e73a97ee4 (patch) | |
| tree | 7e38f2b9fcc0f7c9af5ea1a22ae13073c3b6a27a | |
| parent | d1a1635a458233a29ea8998e74eec11c856ee371 (diff) | |
| download | poky-3323759def9bd67815eff7507dc68e7e73a97ee4.tar.gz | |
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.bb | 5 |
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" | |||
| 7 | PKGV = "${PV}+${PATCHDATE}" | 7 | PKGV = "${PV}+${PATCHDATE}" |
| 8 | PR = "r0" | 8 | PR = "r0" |
| 9 | 9 | ||
| 10 | DEPENDS = "ncurses-native unifdef-native" | 10 | DEPENDS = "ncurses-native" |
| 11 | DEPENDS_virtclass-native = "unifdef-native" | 11 | DEPENDS_virtclass-native = "" |
| 12 | 12 | ||
| 13 | inherit autotools binconfig | 13 | inherit autotools binconfig |
| 14 | 14 | ||
| @@ -99,6 +99,7 @@ _unifdef_cleanup = " \ | |||
| 99 | -e '\!^/\* .* \*/!d' \ | 99 | -e '\!^/\* .* \*/!d' \ |
| 100 | " | 100 | " |
| 101 | 101 | ||
| 102 | do_test[depends] = "unifdef-native:do_populate_sysroot" | ||
| 102 | do_test[dirs] = "${S}" | 103 | do_test[dirs] = "${S}" |
| 103 | do_test() { | 104 | do_test() { |
| 104 | ${ENABLE_WIDEC} || return 0 | 105 | ${ENABLE_WIDEC} || return 0 |
