diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-05-04 00:32:48 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-05-04 00:40:40 +0100 |
commit | 0e894590172f24bd73e02fd5a462c460466c7c5f (patch) | |
tree | 09e36c3bbb6eb3027ff67b495a59618e89c99528 /meta/classes/insane.bbclass | |
parent | 39e469cfdbddf5bad10486ca43114bfab907c1b9 (diff) | |
download | poky-0e894590172f24bd73e02fd5a462c460466c7c5f.tar.gz |
gettext.bbclass: Updates to better handle gettext alternatives
* Change gettext dependency to virtual/gettext
* Ensure INHIBIT_DEFAULT_DEPS removes gettext dependencies
* Use BASEDEPENDS to ensure dependencies are added in native/nativesdk cases
(From OE-Core rev: d19735ad5a45f969918fb73ea4845bef48d9ee24)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/insane.bbclass')
-rw-r--r-- | meta/classes/insane.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass index 98acf7f5a4..a3ea0e5ef0 100644 --- a/meta/classes/insane.bbclass +++ b/meta/classes/insane.bbclass | |||
@@ -584,7 +584,7 @@ Rerun configure task after fixing this. The path was '%s'""" % root) | |||
584 | elif bb.data.inherits_class('cross-canadian', d): | 584 | elif bb.data.inherits_class('cross-canadian', d): |
585 | gt = "gettext-nativesdk" | 585 | gt = "gettext-nativesdk" |
586 | else: | 586 | else: |
587 | gt = "gettext" | 587 | gt = "virtual/gettext" |
588 | deps = bb.utils.explode_deps(bb.data.getVar('DEPENDS', d, True) or "") | 588 | deps = bb.utils.explode_deps(bb.data.getVar('DEPENDS', d, True) or "") |
589 | if gt not in deps: | 589 | if gt not in deps: |
590 | for config in configs: | 590 | for config in configs: |