diff options
author | Nitin A Kamble <nitin.a.kamble@intel.com> | 2011-07-01 11:51:15 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-07-01 23:07:56 +0100 |
commit | a67e0c0e01a22718a617a82f54575b77928249ee (patch) | |
tree | b58905c2702108d8cfe007963c8745062a2607c4 /meta/recipes-devtools/perl/perl-5.12.3 | |
parent | c4eb1e7659a7f9f2791f1fdd5b0b22e7a5e423b0 (diff) | |
download | openembedded-core-a67e0c0e01a22718a617a82f54575b77928249ee.tar.gz openembedded-core-a67e0c0e01a22718a617a82f54575b77928249ee.tar.bz2 openembedded-core-a67e0c0e01a22718a617a82f54575b77928249ee.zip |
perl: Fix package qa rpath warnings.
Fix these kinds of Package QA warnings before they are converted into fetal errors:
WARNING: QA Issue: package perl-module-compress contains bad RPATH /build_disk/poky_build/build0/tmp/sysroots/qemux86/usr/lib in file /build_disk/poky_build/build0/tmp/work/i586-poky-linux/perl-5.12.3-r1/packages-split/perl-module-compress/usr/lib/perl/5.12.3/auto/Compress/Raw/Zlib/Zlib.so
This fixes this warning for perl recipe as well as libxml-parser-perl recipe.
It is a fix to MakeMaker within perl, so all such perl recipes will get
fixed with this perl fix.
Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Diffstat (limited to 'meta/recipes-devtools/perl/perl-5.12.3')
-rw-r--r-- | meta/recipes-devtools/perl/perl-5.12.3/fix_bad_rpath.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/meta/recipes-devtools/perl/perl-5.12.3/fix_bad_rpath.patch b/meta/recipes-devtools/perl/perl-5.12.3/fix_bad_rpath.patch new file mode 100644 index 0000000000..7b99857c17 --- /dev/null +++ b/meta/recipes-devtools/perl/perl-5.12.3/fix_bad_rpath.patch @@ -0,0 +1,25 @@ +Upstream-Status:Inappropriate [embedded specific] +Signed-Off-By: Nitin A Kamble <nitin.a.kamble@intel.com> +2011/07/01 + +Fix these Package QA warnings before they are converted into fetal errors: + +WARNING: QA Issue: package perl-module-compress contains bad RPATH /build_disk/poky_build/build0/tmp/sysroots/qemux86/usr/lib in file /build_disk/poky_build/build0/tmp/work/i586-poky-linux/perl-5.12.3-r1/packages-split/perl-module-compress/usr/lib/perl/5.12.3/auto/Compress/Raw/Zlib/Zlib.so + +This fixes this warning for perl recipe as well as libxml-parser-perl recipe. +It is a fix to MakeMaker within perl, so all such perl recipes will get +fixed with this perl fix. + +Index: perl-5.12.3/cpan/ExtUtils-MakeMaker/lib/ExtUtils/Liblist/Kid.pm +=================================================================== +--- perl-5.12.3.orig/cpan/ExtUtils-MakeMaker/lib/ExtUtils/Liblist/Kid.pm ++++ perl-5.12.3/cpan/ExtUtils-MakeMaker/lib/ExtUtils/Liblist/Kid.pm +@@ -54,7 +54,7 @@ sub _unix_os2_ext { + my($found) = 0; + + # Debian-specific: don't use LD_RUN_PATH for standard dirs +- $ld_run_path_seen{$_}++ for qw(/lib /usr/lib /usr/X11R6/lib); ++ $ld_run_path_seen{$_}++ for qw(/lib /usr/lib /usr/X11R6/lib SYSROOTLIB); + + foreach my $thislib (split ' ', $potential_libs) { + |