summaryrefslogtreecommitdiffstats
path: root/abs/core/perl/archlinux-cpan-installdir.patch
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/perl/archlinux-cpan-installdir.patch')
-rw-r--r--abs/core/perl/archlinux-cpan-installdir.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/abs/core/perl/archlinux-cpan-installdir.patch b/abs/core/perl/archlinux-cpan-installdir.patch
new file mode 100644
index 0000000..1e005d8
--- /dev/null
+++ b/abs/core/perl/archlinux-cpan-installdir.patch
@@ -0,0 +1,17 @@
+Some modules which are included in the perl core set INSTALLDIRS => 'perl'
+explicitly in Makefile.PL. This makes sense for the normal @INC ordering but
+not for Arch Linux. Provide a sensible default.
+
+Thanks to Charles Mauch (xterminus) for his work on the initial patch.
+
+--- lib/CPAN/FirstTime.pm.orig 2007-11-04 22:35:31.000000000 -0500
++++ lib/CPAN/FirstTime.pm 2007-11-04 22:37:59.000000000 -0500
+@@ -358,7 +358,7 @@
+
+ };
+
+- $default = $CPAN::Config->{makepl_arg} || "";
++ $default = $CPAN::Config->{makepl_arg} || "INSTALLDIRS=site";
+ $CPAN::Config->{makepl_arg} =
+ prompt("Parameters for the 'perl Makefile.PL' command?
+ Typical frequently used settings: