[oe-commits] Matthew McClintock : valgrind: Fix shebang issues when compiling valgrind on old bash

git version control git at git.openembedded.org
Tue Jun 21 22:58:29 UTC 2011


Module: openembedded.git
Branch: master
Commit: 9e3be665b639293ab8600e3049fce2a0fec63b75
URL:    http://git.openembedded.org/?p=openembedded.git&a=commit;h=9e3be665b639293ab8600e3049fce2a0fec63b75

Author: Matthew McClintock <msm at freescale.com>
Date:   Tue Jun 21 17:55:37 2011 -0500

valgrind: Fix shebang issues when compiling valgrind on old bash

valgrind is doing some odd substitutions on the shebang for some
scripts. This overrides the perl location and uses one that
should work. This fixes building valgrind on centos 5.6

Signed-off-by: Matthew McClintock <msm at freescale.com>
Signed-off-by: Tom Rini <tom_rini at mentor.com>

---

 recipes/valgrind/valgrind_3.6.1.bb |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/recipes/valgrind/valgrind_3.6.1.bb b/recipes/valgrind/valgrind_3.6.1.bb
index 0c83f42..8298cf7 100644
--- a/recipes/valgrind/valgrind_3.6.1.bb
+++ b/recipes/valgrind/valgrind_3.6.1.bb
@@ -1,6 +1,7 @@
 require valgrind.inc
+export PERL="/usr/bin/env perl"
 
-PR = "r1"
+PR = "r2"
 
 SRC_URI += "file://vg-ppc-feature.patch"
 





More information about the Openembedded-commits mailing list