From patchwork Tue Oct 9 08:32:46 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [1/1] perl: fix @INC Date: Tue, 09 Oct 2012 08:32:46 -0000 From: Kang Kai X-Patchwork-Id: 37983 Message-Id: <5638b12dc40290cff09fc211d14b472ef7c2c8c0.1349770454.git.kai.kang@windriver.com> To: perl @INC path includes native perl modules path. When run "perl -V", the output at the end is something like: @INC: /etc/perl /usr/lib/perl/site_perl/5.14.2/ /usr/lib/perl/site_perl/5.14.2 /usr/lib/perl/vendor_perl/5.14.2/ /usr/lib/perl/vendor_perl/5.14.2 /mnt/sda10/poky-all-platform/build-qemuppc/tmp/sysroots/qemuppc/usr/lib/perl/5.14.2/ /usr/lib/perl/5.14.2 /usr/local/lib/site_perl /usr/lib/perl/5.14.2 . And this is caused by commit aeca6512f3a5468b8f65e2986024ab07d2ce45b4. Because the native path is compiled into libperl.so that sed in perl_package_preprocess() could NOT remove it. So revert the commit. [Yocto #3099] Signed-off-by: Kang Kai --- meta/recipes-devtools/perl/perl-5.14.2/config.sh | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/meta/recipes-devtools/perl/perl-5.14.2/config.sh b/meta/recipes-devtools/perl/perl-5.14.2/config.sh index 0d4ca1c..dbfabb5 100644 --- a/meta/recipes-devtools/perl/perl-5.14.2/config.sh +++ b/meta/recipes-devtools/perl/perl-5.14.2/config.sh @@ -68,7 +68,7 @@ api_version='14' api_versionstring='5.14.0' ar='ar' archlib='@LIBDIR@/perl/5.14.2/@ARCH@-thread-multi' -archlibexp='@STAGINGDIR@@LIBDIR@/perl/5.14.2/@ARCH@-thread-multi' +archlibexp='@LIBDIR@/perl/5.14.2/@ARCH@-thread-multi' archname64='' archname='@ARCH@-thread-multi' archobjs=''