diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-09-26 15:34:49 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-09-28 21:51:51 +0100 |
commit | 0d3a864b12cb44b0ea1c2d47694d97974f2852c9 (patch) | |
tree | b7f3868686ff8fce32dca69915aa7c8cdf042cff | |
parent | f30344dd3c066b6d1ac79e0c1905635aa56e94b5 (diff) | |
download | poky-0d3a864b12cb44b0ea1c2d47694d97974f2852c9.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)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-extended/mc/mc_4.7.5.2.bb | 7 |
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" | |||
6 | DEPENDS = "ncurses glib-2.0" | 6 | DEPENDS = "ncurses glib-2.0" |
7 | RDEPENDS_${PN} = "ncurses-terminfo" | 7 | RDEPENDS_${PN} = "ncurses-terminfo" |
8 | 8 | ||
9 | PR = "r1" | 9 | PR = "r2" |
10 | 10 | ||
11 | SRC_URI = "http://www.midnight-commander.org/downloads/${BPN}-${PV}.tar.bz2" | 11 | SRC_URI = "http://www.midnight-commander.org/downloads/${BPN}-${PV}.tar.bz2" |
12 | 12 | ||
@@ -18,3 +18,8 @@ inherit autotools gettext | |||
18 | EXTRA_OECONF = "--with-screen=ncurses --without-gpm-mouse --without-x --without-samba" | 18 | EXTRA_OECONF = "--with-screen=ncurses --without-gpm-mouse --without-x --without-samba" |
19 | 19 | ||
20 | FILES_${PN}-dbg += "${libexecdir}/mc/.debug/" | 20 | FILES_${PN}-dbg += "${libexecdir}/mc/.debug/" |
21 | |||
22 | do_install_append () { | ||
23 | sed -i -e '1s,#!.*perl,#!${bindir}/env perl,' ${D}${libexecdir}/mc/extfs.d/* | ||
24 | |||
25 | } | ||