diff options
Diffstat (limited to 'meta/recipes-devtools/perl/perl-5.8.8/62_debian_cpan_definstalldirs.patch')
-rw-r--r-- | meta/recipes-devtools/perl/perl-5.8.8/62_debian_cpan_definstalldirs.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/meta/recipes-devtools/perl/perl-5.8.8/62_debian_cpan_definstalldirs.patch b/meta/recipes-devtools/perl/perl-5.8.8/62_debian_cpan_definstalldirs.patch new file mode 100644 index 0000000000..682061dd8b --- /dev/null +++ b/meta/recipes-devtools/perl/perl-5.8.8/62_debian_cpan_definstalldirs.patch | |||
@@ -0,0 +1,16 @@ | |||
1 | Some modules which are included in core set INSTALLDIRS => 'perl' | ||
2 | explicitly in Makefile.PL. This makes sense for the normal @INC | ||
3 | ordering, but not ours. Provide a sensible default. | ||
4 | |||
5 | diff -Naur --exclude=debian perl-5.8.8.orig/lib/CPAN/FirstTime.pm perl-5.8.8/lib/CPAN/FirstTime.pm | ||
6 | --- perl-5.8.8.orig/lib/CPAN/FirstTime.pm 2006-01-31 08:08:57.000000000 +1100 | ||
7 | +++ perl-5.8.8/lib/CPAN/FirstTime.pm 2006-02-03 00:05:24.000000000 +1100 | ||
8 | @@ -358,7 +358,7 @@ | ||
9 | |||
10 | }; | ||
11 | |||
12 | - $default = $CPAN::Config->{makepl_arg} || ""; | ||
13 | + $default = $CPAN::Config->{makepl_arg} || "INSTALLDIRS=site"; | ||
14 | $CPAN::Config->{makepl_arg} = | ||
15 | prompt("Parameters for the 'perl Makefile.PL' command? | ||
16 | Typical frequently used settings: | ||