summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/perl/archlinux-cpan-installdir.patch
diff options
context:
space:
mode:
authorJames Meyer <James.meyer@operamail.com>2008-10-02 03:19:12 (GMT)
committerJames Meyer <James.meyer@operamail.com>2008-10-02 03:19:12 (GMT)
commit0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a (patch)
treec0aa2c0b53c317be87eacfcb77b63f53f1f415e7 /abs/core-testing/perl/archlinux-cpan-installdir.patch
downloadlinhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.zip
linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.tar.gz
linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.tar.bz2
initial import
Diffstat (limited to 'abs/core-testing/perl/archlinux-cpan-installdir.patch')
-rw-r--r--abs/core-testing/perl/archlinux-cpan-installdir.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/abs/core-testing/perl/archlinux-cpan-installdir.patch b/abs/core-testing/perl/archlinux-cpan-installdir.patch
new file mode 100644
index 0000000..1e005d8
--- /dev/null
+++ b/abs/core-testing/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: