summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Kjellerstedt <pkj@axis.com>2017-06-14 16:42:18 +0200
committerMark Hatle <mark.hatle@windriver.com>2017-08-14 15:48:52 -0500
commit4256584a83b238c3015d2a719ddd17b01bc83480 (patch)
treece08eda2a15a6e788baadcb97054ffde620f252c
parent6aeccc3017205a77640355dace3b6872dcf25032 (diff)
downloadopenembedded-core-contrib-4256584a83b238c3015d2a719ddd17b01bc83480.tar.gz
openembedded-core-contrib-4256584a83b238c3015d2a719ddd17b01bc83480.tar.bz2
openembedded-core-contrib-4256584a83b238c3015d2a719ddd17b01bc83480.zip
texinfo: Avoid a problem with a dependency on perl(Locale::gettext_xs)
We do not build the Locale::gettext_xs Perl module and the code will test for it and happily use Locale::gettext_pp instead if it is not found. However, this still causes a file dependency on perl(Locale::gettext_xs) to be generated, which must be satisfied by adding an explicit provide for it. Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
-rw-r--r--meta/recipes-extended/texinfo/texinfo_6.3.bb6
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/recipes-extended/texinfo/texinfo_6.3.bb b/meta/recipes-extended/texinfo/texinfo_6.3.bb
index d82731e11e..f58df928aa 100644
--- a/meta/recipes-extended/texinfo/texinfo_6.3.bb
+++ b/meta/recipes-extended/texinfo/texinfo_6.3.bb
@@ -79,4 +79,10 @@ FILES_${PN}-doc = "${infodir}/texinfo* \
${datadir}/${tex_texinfo} \
${mandir}/man1 ${mandir}/man5"
+# Lie about providing the Locale::gettext_xs module. It is not actually built,
+# but the code will test for it and if not found use Locale::gettext_pp instead.
+# However, this causes a file dependency on perl(Locale::gettext_xs) to be
+# generated, which must be satisfied.
+RPROVIDES_${PN} += "perl(Locale::gettext_xs)"
+
BBCLASSEXTEND = "native nativesdk"