summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended
diff options
context:
space:
mode:
authorSaul Wold <sgw@linux.intel.com>2013-08-04 15:39:02 -0700
committerSaul Wold <sgw@linux.intel.com>2013-08-05 23:59:56 -0700
commit6c4dda740fb7e05cb35c16db10a87426bc3ae3b3 (patch)
tree3f5784416e75f8284920b8be01098b09e6a1db5c /meta/recipes-extended
parent601738fee3e9b7909b63714ca725576c10eec1e3 (diff)
downloadopenembedded-core-6c4dda740fb7e05cb35c16db10a87426bc3ae3b3.tar.gz
openembedded-core-6c4dda740fb7e05cb35c16db10a87426bc3ae3b3.tar.bz2
openembedded-core-6c4dda740fb7e05cb35c16db10a87426bc3ae3b3.zip
texinfo: Fix path to perl for scripts
The 2 scripts texti2any and pod2tex referenced the /bin/perl directly, they shoule be using ${USRBINPATH}/env perl. Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/recipes-extended')
-rw-r--r--meta/recipes-extended/texinfo/texinfo_5.1.bb2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-extended/texinfo/texinfo_5.1.bb b/meta/recipes-extended/texinfo/texinfo_5.1.bb
index ad10e48a62..0f4b4af3ae 100644
--- a/meta/recipes-extended/texinfo/texinfo_5.1.bb
+++ b/meta/recipes-extended/texinfo/texinfo_5.1.bb
@@ -39,7 +39,9 @@ do_compile_prepend() {
do_install_append() {
mkdir -p ${D}${datadir}/${tex_texinfo}
install -p -m644 ${S}/doc/texinfo.tex ${S}/doc/txi-??.tex ${D}${datadir}/${tex_texinfo}
+ sed -i -e '1s,#!.*perl,#! ${USRBINPATH}/env perl,' ${D}${bindir}/texi2any ${D}${bindir}/pod2texi
}
+
do_install_append_class-native() {
install -m 755 info/makedoc ${D}${bindir}
}