aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2012-08-02 21:29:56 +0000
committerScott Garman <scott.a.garman@intel.com>2012-09-24 09:51:14 -0700
commitf28dcaf565050d5c857c3d09164104410a2e4173 (patch)
treea33903067e31f6122ee5433e234de5e45512f05a
parentf4cc32585f9ac392460991b46b8cfa7a347a27e6 (diff)
downloadopenembedded-core-f28dcaf565050d5c857c3d09164104410a2e4173.tar.gz
openembedded-core-f28dcaf565050d5c857c3d09164104410a2e4173.tar.bz2
openembedded-core-f28dcaf565050d5c857c3d09164104410a2e4173.zip
texi2html: Fix perl location on recent distros
This fixes errors like: | error: Failed dependencies: | /bin/perl is needed by texi2html-5.0-r1.i586 (From OE-Core rev: d4c27021ffc813732526ab9ae6969e5ae0bdf7e8) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-extended/texi2html/texi2html_5.0.bb6
1 files changed, 5 insertions, 1 deletions
diff --git a/meta/recipes-extended/texi2html/texi2html_5.0.bb b/meta/recipes-extended/texi2html/texi2html_5.0.bb
index 9785ad5c53..4b220f5ff8 100644
--- a/meta/recipes-extended/texi2html/texi2html_5.0.bb
+++ b/meta/recipes-extended/texi2html/texi2html_5.0.bb
@@ -4,7 +4,7 @@ SECTION = "console/utils"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552"
-PR = "r1"
+PR = "r2"
SRC_URI = "http://download.savannah.gnu.org/releases/texi2html/${BPN}-${PV}.tar.bz2 \
file://fix_gettext_version.patch"
@@ -24,4 +24,8 @@ do_configure_append() {
rm -rf ${S}/po
}
+do_install_append () {
+ sed -i -e '1s,#!.*perl,#! ${USRBINPATH}/env perl,' ${D}${bindir}/texi2html
+}
+
FILES_${PN}-doc += "${datadir}/texinfo"