diff options
author | Jesse Gilles <jgilles@multitech.com> | 2011-08-30 17:01:30 -0500 |
---|---|---|
committer | Jesse Gilles <jgilles@multitech.com> | 2011-08-30 17:01:30 -0500 |
commit | 00508710beeff0223dafc1f906ee3a779b8d3339 (patch) | |
tree | 56baa6cc42f8aa25734a3f45e3264419fd9d404f /multitech/recipes/llvm | |
parent | 9b703aeedff1ad8f402f4569dea1b2dcac6e176c (diff) |
llvm2.7: fix llvm-config2.7 script to call /usr/bin/env perl
* Fixes script on CentOS 5.6
Diffstat (limited to 'multitech/recipes/llvm')
-rw-r--r-- | multitech/recipes/llvm/llvm2.7_2.7.bbappend | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/multitech/recipes/llvm/llvm2.7_2.7.bbappend b/multitech/recipes/llvm/llvm2.7_2.7.bbappend new file mode 100644 index 0000000..634eec2 --- /dev/null +++ b/multitech/recipes/llvm/llvm2.7_2.7.bbappend @@ -0,0 +1,11 @@ +FILESEXTRA := "${THISDIR}" +FILESPATHBASE =. "${FILESEXTRA}:" + +PR .= ".corecdp1" + +do_install_append_virtclass-native() { + install -d ${D}${bindir} + install -m 0755 bin/llvm-config${LLVM_RELEASE} ${D}${bindir} + # replace paths to STAGING_BINDIR_NATIVE/perl with ${bindir}/perl + sed -i -e "1s:#!.*:#! /usr/bin/env perl:" ${D}${bindir}/llvm-config${LLVM_RELEASE} +} |