Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] texi2html: Fix perl location on recent distros
@ 2012-08-02 21:31 Richard Purdie
  0 siblings, 0 replies; only message in thread
From: Richard Purdie @ 2012-08-02 21:31 UTC (permalink / raw)
  To: openembedded-core

This fixes errors like:
| error: Failed dependencies:
|       /bin/perl is needed by texi2html-5.0-r1.i586

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
diff --git a/meta/recipes-extended/texi2html/texi2html_5.0.bb b/meta/recipes-extended/texi2html/texi2html_5.0.bb
index 9785ad5..4b220f5 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"





^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2012-08-02 21:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-02 21:31 [PATCH] texi2html: Fix perl location on recent distros Richard Purdie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox