summaryrefslogtreecommitdiffstats
path: root/meta/classes/gettext.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2016-05-11 16:29:05 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-05-12 09:00:59 +0100
commitfb3b160a6bf20a601d6cecf3f06a2b71c03fa91f (patch)
treec1a5ed95f6a8c09d1e652d056bfcd9ce8f61fec1 /meta/classes/gettext.bbclass
parentc59fa3bd71b42410bf032846ee8fdb6e6eb1b95c (diff)
downloadopenembedded-core-contrib-fb3b160a6bf20a601d6cecf3f06a2b71c03fa91f.tar.gz
base: Simplify BASEDEPENDS construction
This code dates from distant times before we had class overrides. The comments are also rather stale. Rewrite this code using class overrides which makes it safer, more modern and more easily understandable. 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 0be14246bfd..d60a0c12ce1 100644
--- a/meta/classes/gettext.bbclass
+++ b/meta/classes/gettext.bbclass
@@ -15,5 +15,5 @@ def gettext_oeconf(d):
DEPENDS_GETTEXT ??= "virtual/gettext gettext-native"
-BASEDEPENDS =+ "${@gettext_dependencies(d)}"
+BASEDEPENDS_append = " ${@gettext_dependencies(d)}"
EXTRA_OECONF_append = " ${@gettext_oeconf(d)}"