* Solution obtained from http://patchwork.openembedded.org/patch/79251/

Signed-off-by: Jacob Stiffler <[email protected]>
---
 .../perl/perl-native_5.14.3.bbappend               |    9 +++++++++
 1 file changed, 9 insertions(+)
 create mode 100644 
meta-arago-extras/recipes-devtools/perl/perl-native_5.14.3.bbappend

diff --git 
a/meta-arago-extras/recipes-devtools/perl/perl-native_5.14.3.bbappend 
b/meta-arago-extras/recipes-devtools/perl/perl-native_5.14.3.bbappend
new file mode 100644
index 0000000..8639d5b
--- /dev/null
+++ b/meta-arago-extras/recipes-devtools/perl/perl-native_5.14.3.bbappend
@@ -0,0 +1,9 @@
+
+PR_append = "-arago0"
+
+do_install_append() {
+       for f in `grep -Il '#! *${bindir}/perl' ${D}/${bindir}/*`; do
+               sed -i -e 's|${bindir}/perl|/usr/bin/env nativeperl|' $f
+       done
+}
+
-- 
1.7.9.5

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

Reply via email to