* [PATCH] git: don't hardcode the full path to perl
@ 2014-06-13 16:37 Richard Purdie
0 siblings, 0 replies; only message in thread
From: Richard Purdie @ 2014-06-13 16:37 UTC (permalink / raw)
To: openembedded-core
From: Christopher Larson <kergoth@gmail.com>
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@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
diff --git a/meta/recipes-devtools/git/git.inc b/meta/recipes-devtools/git/git.inc
index 96254f0..0b3807b 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 () {
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2014-06-13 16:38 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-13 16:37 [PATCH] git: don't hardcode the full path to perl Richard Purdie
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox