diff options
author | Tom Rini <tom_rini@mentor.com> | 2011-02-02 08:09:18 -0700 |
---|---|---|
committer | Tom Rini <tom_rini@mentor.com> | 2011-02-02 09:42:44 -0700 |
commit | f1b833094610e7b698ec9ec308927e64149f2e23 (patch) | |
tree | 413ec41ea659c3ed09aa37dd3485a9122af34cc8 /recipes/automake | |
parent | c82877715f582084cc6174a525343e89182f26fc (diff) | |
download | openembedded-f1b833094610e7b698ec9ec308927e64149f2e23.tar.gz |
automake: Updates for taking advantage of our own perl
We don't need to modify what perl is used since we always mangle
the results to use /usr/bin/env perl.
Signed-off-by: Tom Rini <tom_rini@mentor.com>
Diffstat (limited to 'recipes/automake')
-rw-r--r-- | recipes/automake/automake.inc | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/recipes/automake/automake.inc b/recipes/automake/automake.inc index 1eae3c03e9..de4df34d38 100644 --- a/recipes/automake/automake.inc +++ b/recipes/automake/automake.inc @@ -29,22 +29,20 @@ RDEPENDS_automake += "\ perl-module-text-parsewords \ perl-module-vars " SRC_URI = "${GNU_MIRROR}/automake/automake-${PV}.tar.bz2;name=automake" -INC_PR = "r3" +INC_PR = "r4" AUTOMAKE_API = "${@".".join(bb.data.getVar("PV",d,1).split(".")[0:2])}" inherit autotools FILES_${PN} += "${datadir}/automake* ${datadir}/aclocal*" -do_configure_prepend () { - if ${@['true', 'false'][bb.data.inherits_class('native', d)]} - then - export ac_cv_path_PERL="${ac_cv_path_PERL=${bindir}/perl}" - fi +do_configure_append() { } do_install_append () { autotools_do_install + # replace paths to STAGING_BINDIR_NATIVE/perl with ${bindir}/perl + sed -i -e "1s:#!.*:#! /usr/bin/env perl:" ${D}${bindir}/* ln -sf aclocal-${AUTOMAKE_API} ${D}${bindir}/aclocal ln -sf automake-${AUTOMAKE_API} ${D}${bindir}/automake install -d ${D}${datadir}/aclocal |