[oe-commits] [openembedded-core] 19/20: cross-canadian/gettext: Drop unneeded nativesdk-gettext dependency

git at git.openembedded.org git at git.openembedded.org
Sat Jan 13 22:54:35 UTC 2018


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit fe3401b72596fb04e5d7b659fc656ba5f81a185a
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
AuthorDate: Sat Jan 13 17:57:24 2018 +0000

    cross-canadian/gettext: Drop unneeded nativesdk-gettext dependency
    
    In line with the other gettext cleanups, drop the nativesdk-gettext dependency
    as it isn't needed (similarly to the previous target gettext dependencies).
    
    This then means we can drop DEPENDS_GETTEXT as there are no other users.
    
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/classes/cross-canadian.bbclass | 2 --
 meta/classes/gettext.bbclass        | 4 +---
 2 files changed, 1 insertion(+), 5 deletions(-)

diff --git a/meta/classes/cross-canadian.bbclass b/meta/classes/cross-canadian.bbclass
index cce09c9..ee8aa61 100644
--- a/meta/classes/cross-canadian.bbclass
+++ b/meta/classes/cross-canadian.bbclass
@@ -123,8 +123,6 @@ LDFLAGS = "${BUILDSDK_LDFLAGS} \
            -Wl,-rpath-link,${STAGING_LIBDIR}/.. \
            -Wl,-rpath,${libdir}/.. "
 
-DEPENDS_GETTEXT = "gettext-native nativesdk-gettext"
-
 #
 # We need chrpath >= 0.14 to ensure we can deal with 32 and 64 bit
 # binaries
diff --git a/meta/classes/gettext.bbclass b/meta/classes/gettext.bbclass
index da68e63..be2ef3b 100644
--- a/meta/classes/gettext.bbclass
+++ b/meta/classes/gettext.bbclass
@@ -3,7 +3,7 @@ def gettext_dependencies(d):
         return ""
     if d.getVar('USE_NLS') == 'no':
         return "gettext-minimal-native"
-    return d.getVar('DEPENDS_GETTEXT', False)
+    return "gettext-native"
 
 def gettext_oeconf(d):
     if d.getVar('USE_NLS') == 'no':
@@ -13,8 +13,6 @@ def gettext_oeconf(d):
         return '--disable-nls'
     return "--enable-nls"
 
-DEPENDS_GETTEXT ??= "gettext-native"
-
 BASEDEPENDS_append = " ${@gettext_dependencies(d)}"
 EXTRA_OECONF_append = " ${@gettext_oeconf(d)}"
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list