summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/perl/perl-5.12.3/debian/ld_run_path.diff
diff options
context:
space:
mode:
authorNitin A Kamble <nitin.a.kamble@intel.com>2011-04-23 19:43:17 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-04-28 10:44:22 +0100
commit829b985eb5c329772db49da9838530a639cb2638 (patch)
tree3c18883d115058c2c96c60919b5c052d21b109e6 /meta/recipes-devtools/perl/perl-5.12.3/debian/ld_run_path.diff
parent3669de7f96100a5d4fbfc9b4e2ebc16851ba98ea (diff)
downloadpoky-829b985eb5c329772db49da9838530a639cb2638.tar.gz
perl: upgrade from 5.12.2 to 5.12.3
And changed the perl tarball URL to more stable cpan location. (From OE-Core rev: 3a08c401f298095840a2aee9079845f5ff434410) Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/perl/perl-5.12.3/debian/ld_run_path.diff')
-rw-r--r--meta/recipes-devtools/perl/perl-5.12.3/debian/ld_run_path.diff25
1 files changed, 25 insertions, 0 deletions
diff --git a/meta/recipes-devtools/perl/perl-5.12.3/debian/ld_run_path.diff b/meta/recipes-devtools/perl/perl-5.12.3/debian/ld_run_path.diff
new file mode 100644
index 0000000000..02610d34a9
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.12.3/debian/ld_run_path.diff
@@ -0,0 +1,25 @@
1Upstream-Status:Inappropriate [debian patch]
2
3Subject: Remove standard libs from LD_RUN_PATH as per Debian policy.
4
5
6---
7 .../ExtUtils-MakeMaker/lib/ExtUtils/Liblist/Kid.pm | 3 +++
8 1 files changed, 3 insertions(+), 0 deletions(-)
9
10diff --git a/cpan/ExtUtils-MakeMaker/lib/ExtUtils/Liblist/Kid.pm b/cpan/ExtUtils-MakeMaker/lib/ExtUtils/Liblist/Kid.pm
11index b807e97..6c955d7 100644
12--- a/cpan/ExtUtils-MakeMaker/lib/ExtUtils/Liblist/Kid.pm
13+++ b/cpan/ExtUtils-MakeMaker/lib/ExtUtils/Liblist/Kid.pm
14@@ -53,6 +53,9 @@ sub _unix_os2_ext {
15 my($pwd) = cwd(); # from Cwd.pm
16 my($found) = 0;
17
18+ # Debian-specific: don't use LD_RUN_PATH for standard dirs
19+ $ld_run_path_seen{$_}++ for qw(/lib /usr/lib /usr/X11R6/lib);
20+
21 foreach my $thislib (split ' ', $potential_libs) {
22
23 # Handle possible linker path arguments.
24--
25tg: (a508b62..) debian/ld_run_path (depends on: upstream)