diff options
author | Chong Lu <Chong.Lu@windriver.com> | 2014-10-31 16:59:54 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-11-04 10:20:34 +0000 |
commit | d7a277b35bcc67050046c76fb70412101679a545 (patch) | |
tree | 033da2d9719e7d701ce79407f2859510f80301b2 /meta/recipes-devtools/docbook-xml | |
parent | 4ceb3b5f928af7f631294c83b83e3a3c89cbf890 (diff) | |
download | openembedded-core-d7a277b35bcc67050046c76fb70412101679a545.tar.gz openembedded-core-d7a277b35bcc67050046c76fb70412101679a545.tar.bz2 openembedded-core-d7a277b35bcc67050046c76fb70412101679a545.zip |
docbook-xsl-stylesheets: add perl to RDEPENDS
This solves the following warning:
docbook-xsl-stylesheets-1.78.1: docbook-xsl-stylesheets requires /usr/bin/perl,
/bin/bash, but no providers in its RDEPENDS [file-rdeps]
Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-devtools/docbook-xml')
2 files changed, 26 insertions, 0 deletions
diff --git a/meta/recipes-devtools/docbook-xml/docbook-xsl-stylesheets/docbook-xsl-stylesheets-no-bashism-in-docbook-xsl-up.patch b/meta/recipes-devtools/docbook-xml/docbook-xsl-stylesheets/docbook-xsl-stylesheets-no-bashism-in-docbook-xsl-up.patch new file mode 100644 index 0000000000..0559a5c0d2 --- /dev/null +++ b/meta/recipes-devtools/docbook-xml/docbook-xsl-stylesheets/docbook-xsl-stylesheets-no-bashism-in-docbook-xsl-up.patch @@ -0,0 +1,24 @@ +docbook-xsl-stylesheets: no bashism in docbook-xsl-update + +The checkbashisms shows there is no bashism, so use /bin/sh. + +Upstream-Status: Pending + +Signed-off-by: Chong Lu <Chong.Lu@windriver.com> +--- + tools/bin/docbook-xsl-update | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/tools/bin/docbook-xsl-update b/tools/bin/docbook-xsl-update +index aba0016..cc73aa2 100755 +--- a/tools/bin/docbook-xsl-update ++++ b/tools/bin/docbook-xsl-update +@@ -1,4 +1,4 @@ +-#!/bin/bash ++#!/bin/sh + # vim: number + + # docbook-xsl-update - Update environment to latest docbook-xsl snapshot +-- +1.9.1 + diff --git a/meta/recipes-devtools/docbook-xml/docbook-xsl-stylesheets_1.78.1.bb b/meta/recipes-devtools/docbook-xml/docbook-xsl-stylesheets_1.78.1.bb index 39528c89c4..95498da35e 100644 --- a/meta/recipes-devtools/docbook-xml/docbook-xsl-stylesheets_1.78.1.bb +++ b/meta/recipes-devtools/docbook-xml/docbook-xsl-stylesheets_1.78.1.bb @@ -5,6 +5,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=a6eeeed43d498c22a835382533356462" SRC_URI = "${SOURCEFORGE_MIRROR}/docbook/docbook-xsl-${PV}.tar.bz2 \ file://docbook-xsl.xml \ + file://docbook-xsl-stylesheets-no-bashism-in-docbook-xsl-up.patch \ " SRC_URI[md5sum] = "6dd0f89131cc35bf4f2ed105a1c17771" @@ -63,5 +64,6 @@ docbook_xsl_stylesheets_sysroot_preprocess () { sed -i -e "s|file:///usr/share/xml|file://${datadir}/xml|g" ${SYSROOT_DESTDIR}${sysconfdir}/xml/docbook-xsl.xml } +RDEPENDS_${PN} += "perl" FILES_${PN} = "${datadir}/xml/* ${sysconfdir}/xml/docbook-xsl.xml" FILES_${PN}-doc = "${datadir}/doc/*" |