diff options
Diffstat (limited to 'meta/recipes-devtools/perl/perl-5.12.3/debian/fixes/processPL.diff')
-rw-r--r-- | meta/recipes-devtools/perl/perl-5.12.3/debian/fixes/processPL.diff | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/meta/recipes-devtools/perl/perl-5.12.3/debian/fixes/processPL.diff b/meta/recipes-devtools/perl/perl-5.12.3/debian/fixes/processPL.diff new file mode 100644 index 0000000000..fa2d7c365a --- /dev/null +++ b/meta/recipes-devtools/perl/perl-5.12.3/debian/fixes/processPL.diff | |||
@@ -0,0 +1,45 @@ | |||
1 | Upstream-Status:Inappropriate [debian patch] | ||
2 | |||
3 | Subject: Always use PERLRUNINST when building perl modules. | ||
4 | Bug-Debian: http://bugs.debian.org/357264 | ||
5 | Bug: http://rt.cpan.org/Public/Bug/Display.html?id=17224 | ||
6 | |||
7 | Revert part of upstream change 24524 to always use PERLRUNINST when | ||
8 | building perl modules: Some PDL demos expect blib to be implicitly | ||
9 | searched. | ||
10 | |||
11 | |||
12 | --- | ||
13 | cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm | 5 +---- | ||
14 | 1 files changed, 1 insertions(+), 4 deletions(-) | ||
15 | |||
16 | diff --git a/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm b/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm | ||
17 | index 239d6df..294d266 100644 | ||
18 | --- a/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm | ||
19 | +++ b/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm | ||
20 | @@ -3043,14 +3043,11 @@ sub processPL { | ||
21 | # pm_to_blib depends on then it can't depend on pm_to_blib | ||
22 | # else we have a dependency loop. | ||
23 | my $pm_dep; | ||
24 | - my $perlrun; | ||
25 | if( defined $self->{PM}{$target} ) { | ||
26 | $pm_dep = ''; | ||
27 | - $perlrun = 'PERLRUN'; | ||
28 | } | ||
29 | else { | ||
30 | $pm_dep = 'pm_to_blib'; | ||
31 | - $perlrun = 'PERLRUNINST'; | ||
32 | } | ||
33 | |||
34 | $m .= <<MAKE_FRAG; | ||
35 | @@ -3059,7 +3056,7 @@ all :: $target | ||
36 | \$(NOECHO) \$(NOOP) | ||
37 | |||
38 | $target :: $plfile $pm_dep | ||
39 | - \$($perlrun) $plfile $target | ||
40 | + \$(PERLRUNINST) $plfile $target | ||
41 | MAKE_FRAG | ||
42 | |||
43 | } | ||
44 | -- | ||
45 | tg: (a508b62..) fixes/processPL (depends on: upstream) | ||