summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2014-11-05 20:29:51 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-12-31 10:18:46 +0000
commitfa75856b4b8964bdfdd781a1288ab2cd8ea8180e (patch)
tree66a026a2b29b8f59cb32dcab8a9056d0bc35fc13 /meta/recipes-devtools
parent8d8e8d0a8e1fa63defd9be0f1d1b018a232e8d22 (diff)
downloadpoky-fa75856b4b8964bdfdd781a1288ab2cd8ea8180e.tar.gz
perl: fix PERL5LIB settings
The PERL5LIB settings in the perl wrapper script did not include the "site_perl" or "vendor_perl" directories, which caused some errors. See https://bugzilla.yoctoproject.org/show_bug.cgi?id=6890 (From OE-Core rev: 477ca2da14abaf072d3645c4be916760a48b8938) (From OE-Core rev: df4ace81f24e17d5fbf68ddf012b18d4bfc8c156) Signed-off-by: Wolfgang Denk <wd@denx.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r--meta/recipes-devtools/perl/perl-native_5.20.0.bb4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-devtools/perl/perl-native_5.20.0.bb b/meta/recipes-devtools/perl/perl-native_5.20.0.bb
index 069696ae0c..01d40fcff2 100644
--- a/meta/recipes-devtools/perl/perl-native_5.20.0.bb
+++ b/meta/recipes-devtools/perl/perl-native_5.20.0.bb
@@ -103,8 +103,8 @@ do_install () {
103 install $i ${D}${libdir}/perl/${PV}/CORE 103 install $i ${D}${libdir}/perl/${PV}/CORE
104 done 104 done
105 105
106 create_wrapper ${D}${bindir}/perl PERL5LIB='$PERL5LIB:${STAGING_LIBDIR}/perl/${PV}:${STAGING_LIBDIR}/perl/' 106 create_wrapper ${D}${bindir}/perl PERL5LIB='$PERL5LIB:${STAGING_LIBDIR}/perl/${PV}:${STAGING_LIBDIR}/perl:${STAGING_LIBDIR}/perl/site_perl/${PV}:${STAGING_LIBDIR}/perl/vendor_perl/${PV}'
107 create_wrapper ${D}${bindir}/perl${PV} PERL5LIB='$PERL5LIB:${STAGING_LIBDIR}/perl/${PV}:${STAGING_LIBDIR}/perl/' 107 create_wrapper ${D}${bindir}/perl${PV} PERL5LIB='$PERL5LIB:${STAGING_LIBDIR}/perl/${PV}:${STAGING_LIBDIR}/perl${STAGING_LIBDIR}/perl:${STAGING_LIBDIR}/perl/site_perl/${PV}:${STAGING_LIBDIR}/perl/vendor_perl/${PV}'
108 108
109 # Use /usr/bin/env nativeperl for the perl script. 109 # Use /usr/bin/env nativeperl for the perl script.
110 for f in `grep -Il '#! *${bindir}/perl' ${D}/${bindir}/*`; do 110 for f in `grep -Il '#! *${bindir}/perl' ${D}/${bindir}/*`; do