[oe-commits] Tom Rini : gettext.bbclass: Add virtclass DEPENDS prepends

git version control git at git.openembedded.org
Fri Mar 11 15:25:47 UTC 2011


Module: openembedded.git
Branch: master
Commit: 2a9a834ce426f4dc97162870ef1632540ff044f1
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=2a9a834ce426f4dc97162870ef1632540ff044f1

Author: Tom Rini <tom_rini at mentor.com>
Date:   Thu Mar 10 10:33:03 2011 -0700

gettext.bbclass: Add virtclass DEPENDS prepends

With BBCLASSEXTEND recipes which also modify DEPENDS_virtclass-native
gettext.bbclass is otherwise not working and gettext-native isn't
added.  So we need to have a DEPENDS_virtclass-$foo_prepend to
make sure GETTEXT_DEPENDS gets in.

Signed-off-by: Tom Rini <tom_rini at mentor.com>

---

 classes/gettext.bbclass |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/classes/gettext.bbclass b/classes/gettext.bbclass
index 6c480b5..80b05a9 100644
--- a/classes/gettext.bbclass
+++ b/classes/gettext.bbclass
@@ -13,5 +13,8 @@ python () {
 
 DEPENDS_GETTEXT = "gettext-native virtual/libiconv virtual/libintl"
 
-DEPENDS =+ "${DEPENDS_GETTEXT}"
+DEPENDS_prepend += "${DEPENDS_GETTEXT} "
+DEPENDS_virtclass-native_prepend = "${DEPENDS_GETTEXT} "
+DEPENDS_virtclass-nativesdk_prepend = "${DEPENDS_GETTEXT} "
+DEPENDS_virtclass-cross_prepend = "${DEPENDS_GETTEXT} "
 EXTRA_OECONF += "--enable-nls"





More information about the Openembedded-commits mailing list