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