* [PATCH] gettext.bbclass: Add virtclass DEPENDS prepends
@ 2011-03-10 17:37 Tom Rini
2011-03-11 14:40 ` Graeme Gregory
0 siblings, 1 reply; 2+ messages in thread
From: Tom Rini @ 2011-03-10 17:37 UTC (permalink / raw)
To: openembedded-devel
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@mentor.com>
---
classes/gettext.bbclass | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/classes/gettext.bbclass b/classes/gettext.bbclass
index 6c480b5..2303311 100644
--- a/classes/gettext.bbclass
+++ b/classes/gettext.bbclass
@@ -14,4 +14,7 @@ python () {
DEPENDS_GETTEXT = "gettext-native virtual/libiconv virtual/libintl"
DEPENDS =+ "${DEPENDS_GETTEXT}"
+DEPENDS_virtclass-native_prepend = "${DEPENDS_GETTEXT} "
+DEPENDS_virtclass-nativesdk_prepend = "${DEPENDS_GETTEXT} "
+DEPENDS_virtclass-cross_prepend = "${DEPENDS_GETTEXT} "
EXTRA_OECONF += "--enable-nls"
--
1.7.0.4
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [PATCH] gettext.bbclass: Add virtclass DEPENDS prepends
2011-03-10 17:37 [PATCH] gettext.bbclass: Add virtclass DEPENDS prepends Tom Rini
@ 2011-03-11 14:40 ` Graeme Gregory
0 siblings, 0 replies; 2+ messages in thread
From: Graeme Gregory @ 2011-03-11 14:40 UTC (permalink / raw)
To: openembedded-devel
Looks sensible to me
Acked-by: Graeme Gregory <dp@xora.org.uk>
G
On 10/03/2011 17:37, Tom Rini wrote:
> 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@mentor.com>
> ---
> classes/gettext.bbclass | 3 +++
> 1 files changed, 3 insertions(+), 0 deletions(-)
>
> diff --git a/classes/gettext.bbclass b/classes/gettext.bbclass
> index 6c480b5..2303311 100644
> --- a/classes/gettext.bbclass
> +++ b/classes/gettext.bbclass
> @@ -14,4 +14,7 @@ python () {
> DEPENDS_GETTEXT = "gettext-native virtual/libiconv virtual/libintl"
>
> DEPENDS =+ "${DEPENDS_GETTEXT}"
> +DEPENDS_virtclass-native_prepend = "${DEPENDS_GETTEXT} "
> +DEPENDS_virtclass-nativesdk_prepend = "${DEPENDS_GETTEXT} "
> +DEPENDS_virtclass-cross_prepend = "${DEPENDS_GETTEXT} "
> EXTRA_OECONF += "--enable-nls"
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-03-11 14:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-10 17:37 [PATCH] gettext.bbclass: Add virtclass DEPENDS prepends Tom Rini
2011-03-11 14:40 ` Graeme Gregory
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.