* [PATCH] gettext.bbclass: Ensure we don't overwrite other DEPENDS_GETTEXT values
@ 2012-04-19 7:48 Richard Purdie
0 siblings, 0 replies; only message in thread
From: Richard Purdie @ 2012-04-19 7:48 UTC (permalink / raw)
To: openembedded-core
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>
---
diff --git a/meta/classes/gettext.bbclass b/meta/classes/gettext.bbclass
index 89faa30..95818c6 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)}"
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2012-04-19 7:57 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-19 7:48 [PATCH] gettext.bbclass: Ensure we don't overwrite other DEPENDS_GETTEXT values Richard Purdie
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox