From: Abdur Rehman Date: Thu, 23 Jul 2015 15:20:48 +0000 (+0500) Subject: sed: rrec on locale-base-ru-ru, not rdep X-Git-Tag: 2015-10~1124 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=f9ec9c89956810f21955819677e92588540a4748;p=openembedded-core.git sed: rrec on locale-base-ru-ru, not rdep This locale package isn't guaranteed to exist, depending on the value of GLIBC_GENERATE_LOCALES. The value of GLIBC_GENERATE_LOCALES can be specified to not contain locale-base-ru-ru, thus resulting in unsatisfied dependency. Its better to remove hardcoded dependency upon locale-base-ru-ru in favor of a recommendation, as this locale isn't always available depending upon the value of GLIBC_GENERATE_LOCALES. Signed-off-by: Christopher Larson Signed-off-by: Abdur Rehman Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-extended/sed/sed_4.2.2.bb b/meta/recipes-extended/sed/sed_4.2.2.bb index a1e34832ad..5da3355ee5 100644 --- a/meta/recipes-extended/sed/sed_4.2.2.bb +++ b/meta/recipes-extended/sed/sed_4.2.2.bb @@ -15,7 +15,8 @@ SRC_URI[md5sum] = "4111de4faa3b9848a0686b2f260c5056" SRC_URI[sha256sum] = "fea0a94d4b605894f3e2d5572e3f96e4413bcad3a085aae7367c2cf07908b2ff" inherit autotools texinfo update-alternatives gettext ptest -RDEPENDS_${PN}-ptest += "make locale-base-ru-ru ${PN}" +RDEPENDS_${PN}-ptest += "make ${PN}" +RRECOMMENDS_${PN}-ptest += "locale-base-ru-ru" EXTRA_OECONF = "--disable-acl \ ${@bb.utils.contains('PTEST_ENABLED', '1', '--enable-regex-tests', '', d)}"