summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-09-26 15:34:49 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-01-30 16:37:52 +0000
commit51e089403a63345bf0ab21bddffdff9b0ce1c2db (patch)
treefa2b09e06267d54b025ebeabaf8e6f2e359f687f /meta/recipes-extended
parent058ef489a0283c2bc88a90e74913041e046030f5 (diff)
downloadpoky-51e089403a63345bf0ab21bddffdff9b0ce1c2db.tar.gz
mc: Ensure perl scripts reference the correct perl
Without this change the perl path from the build system is used. (From OE-Core rev: feff6030091d519a0738e2a5db47654dcd13ef13) (From OE-Core rev: 077a85c4fa376b5e7ee826589bbd4fe6776a326f) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended')
-rw-r--r--meta/recipes-extended/mc/mc_4.7.5.2.bb7
1 files changed, 6 insertions, 1 deletions
diff --git a/meta/recipes-extended/mc/mc_4.7.5.2.bb b/meta/recipes-extended/mc/mc_4.7.5.2.bb
index 6b03be7415..59f32ad369 100644
--- a/meta/recipes-extended/mc/mc_4.7.5.2.bb
+++ b/meta/recipes-extended/mc/mc_4.7.5.2.bb
@@ -6,7 +6,7 @@ SECTION = "console/utils"
6DEPENDS = "ncurses glib-2.0" 6DEPENDS = "ncurses glib-2.0"
7RDEPENDS_${PN} = "ncurses-terminfo" 7RDEPENDS_${PN} = "ncurses-terminfo"
8 8
9PR = "r1" 9PR = "r2"
10 10
11SRC_URI = "http://www.midnight-commander.org/downloads/${BPN}-${PV}.tar.bz2" 11SRC_URI = "http://www.midnight-commander.org/downloads/${BPN}-${PV}.tar.bz2"
12 12
@@ -18,3 +18,8 @@ inherit autotools gettext
18EXTRA_OECONF = "--with-screen=ncurses --without-gpm-mouse --without-x --without-samba" 18EXTRA_OECONF = "--with-screen=ncurses --without-gpm-mouse --without-x --without-samba"
19 19
20FILES_${PN}-dbg += "${libexecdir}/mc/.debug/" 20FILES_${PN}-dbg += "${libexecdir}/mc/.debug/"
21
22do_install_append () {
23 sed -i -e '1s,#!.*perl,#!${bindir}/env perl,' ${D}${libexecdir}/mc/extfs.d/*
24
25}