diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-04-19 08:48:25 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-04-22 15:59:56 +0100 |
commit | 6e5cb40dfaeae4843dd65115f0b8b0f20f58d30e (patch) | |
tree | 29780766d84d1d10dde6e7fce4b5d54cb86b9d2c /meta | |
parent | a4d913d925ce7fcd6d18ee68e4cd6741b4c3eb7c (diff) | |
download | poky-6e5cb40dfaeae4843dd65115f0b8b0f20f58d30e.tar.gz |
gettext.bbclass: Ensure we don't overwrite other DEPENDS_GETTEXT values
In particular, this overwrites the value from cross-canadian.bbclass in
some cases which isn't the desired behaviour and unnecessarily
complicates/breaks the dependency chain.
(From OE-Core rev: 751ead4fa7d4120de906a1d9cb1d5a29357bebad)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/gettext.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/gettext.bbclass b/meta/classes/gettext.bbclass index 89faa30eca..95818c6771 100644 --- a/meta/classes/gettext.bbclass +++ b/meta/classes/gettext.bbclass | |||
@@ -15,7 +15,7 @@ def gettext_oeconf(d): | |||
15 | return '--disable-nls' | 15 | return '--disable-nls' |
16 | return "--enable-nls" | 16 | return "--enable-nls" |
17 | 17 | ||
18 | DEPENDS_GETTEXT = "virtual/gettext gettext-native" | 18 | DEPENDS_GETTEXT ??= "virtual/gettext gettext-native" |
19 | 19 | ||
20 | BASEDEPENDS =+ "${@gettext_dependencies(d)}" | 20 | BASEDEPENDS =+ "${@gettext_dependencies(d)}" |
21 | EXTRA_OECONF_append = " ${@gettext_oeconf(d)}" | 21 | EXTRA_OECONF_append = " ${@gettext_oeconf(d)}" |