diff options
| author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-08-02 21:29:56 +0000 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-08-02 23:01:35 +0100 |
| commit | 5442b9aa250c2e94f28c56efc67cfc2bf3cb5fec (patch) | |
| tree | f047bcba4dd1b3cc099212f5636f264d3d50f24e | |
| parent | d6f2cd7e0331ad2508c62b5d2d125e714baff4e2 (diff) | |
| download | poky-5442b9aa250c2e94f28c56efc67cfc2bf3cb5fec.tar.gz | |
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.bb | 6 |
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" | |||
| 4 | LICENSE = "GPLv2" | 4 | LICENSE = "GPLv2" |
| 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552" | 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552" |
| 6 | 6 | ||
| 7 | PR = "r1" | 7 | PR = "r2" |
| 8 | 8 | ||
| 9 | SRC_URI = "http://download.savannah.gnu.org/releases/texi2html/${BPN}-${PV}.tar.bz2 \ | 9 | SRC_URI = "http://download.savannah.gnu.org/releases/texi2html/${BPN}-${PV}.tar.bz2 \ |
| 10 | file://fix_gettext_version.patch" | 10 | file://fix_gettext_version.patch" |
| @@ -24,4 +24,8 @@ do_configure_append() { | |||
| 24 | rm -rf ${S}/po | 24 | rm -rf ${S}/po |
| 25 | } | 25 | } |
| 26 | 26 | ||
| 27 | do_install_append () { | ||
| 28 | sed -i -e '1s,#!.*perl,#! ${USRBINPATH}/env perl,' ${D}${bindir}/texi2html | ||
| 29 | } | ||
| 30 | |||
| 27 | FILES_${PN}-doc += "${datadir}/texinfo" | 31 | FILES_${PN}-doc += "${datadir}/texinfo" |
