[OE-core] [PATCH] sed: Make locale depenencies glibc specific

Richard Purdie richard.purdie at linuxfoundation.org
Sat Jul 25 13:45:26 UTC 2015


Only glibc provides this base locale so make the dependency glibc
specific to avoid build failures with other libcs.

Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

diff --git a/meta/recipes-extended/sed/sed_4.2.2.bb b/meta/recipes-extended/sed/sed_4.2.2.bb
index 5da3355..5aa7d8a 100644
--- a/meta/recipes-extended/sed/sed_4.2.2.bb
+++ b/meta/recipes-extended/sed/sed_4.2.2.bb
@@ -16,7 +16,7 @@ SRC_URI[sha256sum] = "fea0a94d4b605894f3e2d5572e3f96e4413bcad3a085aae7367c2cf079
 
 inherit autotools texinfo update-alternatives gettext ptest
 RDEPENDS_${PN}-ptest += "make ${PN}"
-RRECOMMENDS_${PN}-ptest += "locale-base-ru-ru"
+RRECOMMENDS_${PN}-ptest_append_libc-glibc = " locale-base-ru-ru"
 
 EXTRA_OECONF = "--disable-acl \
                 ${@bb.utils.contains('PTEST_ENABLED', '1', '--enable-regex-tests', '', d)}"





More information about the Openembedded-core mailing list