summaryrefslogtreecommitdiffstats
path: root/meta/classes/gettext.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2012-04-19 08:48:25 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-04-22 15:43:00 +0100
commit751ead4fa7d4120de906a1d9cb1d5a29357bebad (patch)
treedd37b7eb2346efb141a675fba5859c11c1981668 /meta/classes/gettext.bbclass
parent69d083f8b8d8f7d095ed5682d305870c4d93fe62 (diff)
downloadopenembedded-core-751ead4fa7d4120de906a1d9cb1d5a29357bebad.tar.gz
openembedded-core-751ead4fa7d4120de906a1d9cb1d5a29357bebad.tar.bz2
openembedded-core-751ead4fa7d4120de906a1d9cb1d5a29357bebad.zip
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. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/gettext.bbclass')
-rw-r--r--meta/classes/gettext.bbclass2
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):
return '--disable-nls'
return "--enable-nls"
-DEPENDS_GETTEXT = "virtual/gettext gettext-native"
+DEPENDS_GETTEXT ??= "virtual/gettext gettext-native"
BASEDEPENDS =+ "${@gettext_dependencies(d)}"
EXTRA_OECONF_append = " ${@gettext_oeconf(d)}"