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>
This commit is contained in:
Richard Purdie 2012-08-02 21:29:56 +00:00
parent d6f2cd7e03
commit 5442b9aa25
1 changed files with 5 additions and 1 deletions

View File

@ -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"