summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/perl/perl-5.14.2/debian/perlivp.diff
diff options
context:
space:
mode:
authorNitin A Kamble <nitin.a.kamble@intel.com>2011-10-19 14:53:17 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-10-24 17:27:14 +0100
commit5f8f114e4cc29e96942f96ef7dec6d25e18b6d4f (patch)
tree5b7867dec533d001ce29d8bf7b4869299cea254f /meta/recipes-devtools/perl/perl-5.14.2/debian/perlivp.diff
parent53f7342562a66d1b14ecee234aa76be07951dedc (diff)
downloadpoky-5f8f114e4cc29e96942f96ef7dec6d25e18b6d4f.tar.gz
perl: upgrade from 5.12.3 to 5.14.2
parallel build fix patches are not needed as they are upstream now. Got a new set of debian patch set for 5.14.2 perl-rpdepends: fix the autogenerated rdepends mistakes take out some mdoules which are not going to be built. [Saul Wold: Remove debug] (From OE-Core rev: 8dc5f118832a4aca906239ffed82f72497c37f8e) 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.14.2/debian/perlivp.diff')
-rw-r--r--meta/recipes-devtools/perl/perl-5.14.2/debian/perlivp.diff39
1 files changed, 39 insertions, 0 deletions
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/debian/perlivp.diff b/meta/recipes-devtools/perl/perl-5.14.2/debian/perlivp.diff
new file mode 100644
index 0000000000..98b1b501f5
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.14.2/debian/perlivp.diff
@@ -0,0 +1,39 @@
1From 4c7e04f75c9513451d1622e5a6dd58c2c8377d81 Mon Sep 17 00:00:00 2001
2From: Niko Tyni <ntyni@debian.org>
3Date: Fri, 9 Jan 2009 18:54:47 +0200
4Subject: Make perlivp skip include directories in /usr/local
5
6Bug-Debian: http://bugs.debian.org/510895
7
8On Sat, Jan 10, 2009 at 12:37:18AM +1100, Brendan O'Dea wrote:
9> On Wed, Jan 7, 2009 at 12:21 AM, Niko Tyni <ntyni@debian.org> wrote:
10
11> > We could create the directories in a postinst script, but I'm not sure
12> > I see the point. They will be created automatically when installing
13> > CPAN modules.
14>
15> The directories are intentionally not created, as this way they are
16> excluded from the search path at start-up, saving a bunch of wasted
17> stats at use/require time in the common case that the user has not
18> installed any local packages. As Niko points out, they will be
19> created as required.
20
21Signed-off-by: Niko Tyni <ntyni@debian.org>
22
23Patch-Name: debian/perlivp.diff
24---
25 utils/perlivp.PL | 1 +
26 1 files changed, 1 insertions(+), 0 deletions(-)
27
28diff --git a/utils/perlivp.PL b/utils/perlivp.PL
29index 6fcb670..1401cac 100644
30--- a/utils/perlivp.PL
31+++ b/utils/perlivp.PL
32@@ -142,6 +142,7 @@ my $INC_total = 0;
33 my $INC_there = 0;
34 foreach (@INC) {
35 next if $_ eq '.'; # skip -d test here
36+ next if m|/usr/local|; # not shipped on Debian
37 if (-d $_) {
38 print "## Perl \@INC directory `$_' exists.\n" if $opt{'v'};
39 $INC_there++;