[oe-commits] Christopher Larson : git: don't hardcode the full path to perl

git at git.openembedded.org git at git.openembedded.org
Fri Jun 13 17:11:00 UTC 2014


Module: openembedded-core.git
Branch: master-next
Commit: d48217a95b40d6b4deb366c2ad7807134eba71f1
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=d48217a95b40d6b4deb366c2ad7807134eba71f1

Author: Christopher Larson <kergoth at gmail.com>
Date:   Fri Jun 13 17:37:45 2014 +0100

git: don't hardcode the full path to perl

Hardcoded paths to perl don't make sense, use from the environment instead.

[Patch taken from meta-mentor by RP]

Signed-off-by: Christopher Larson <kergoth at gmail.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/recipes-devtools/git/git.inc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-devtools/git/git.inc b/meta/recipes-devtools/git/git.inc
index 9ed13db..4e0527c 100644
--- a/meta/recipes-devtools/git/git.inc
+++ b/meta/recipes-devtools/git/git.inc
@@ -16,6 +16,7 @@ EXTRA_OECONF = "--with-perl=${STAGING_BINDIR_NATIVE}/perl-native/perl \
 inherit autotools-brokensep perlnative
 
 EXTRA_OEMAKE = "NO_PYTHON=1 CFLAGS='${CFLAGS}' LDFLAGS='${LDFLAGS}'"
+EXTRA_OEMAKE += "'PERL_PATH=/usr/bin/env perl'"
 EXTRA_OEMAKE_append_class-native = " NO_CROSS_DIRECTORY_HARDLINKS=1"
 
 do_compile_prepend () {



More information about the Openembedded-commits mailing list