Subject: | [PATCH] Install in archlib for Perl >= 5.011 |
As a result of being moved from 'lib' to 'ext' in blead, Test::Harness
is now being installed in arch-dependent libs. Updating Test::Harness
from CPAN puts the new files in the arch-independent libs. As a
result, the new version is being masked by the old version.
The attached patch installs Test::Harness in $Config{installarchlib} for
Perl >= 5.011.
Subject: | Test-Harness.patch |
--- Test-Harness-3.15/Makefile.PL.orig 2009-02-19 12:01:42.927116600 -0500
+++ Test-Harness-3.15/Makefile.PL 2009-02-19 12:03:35.307345500 -0500
@@ -6,6 +6,7 @@
use ExtUtils::MakeMaker qw/WriteMakefile prompt/;
use strict;
+use Config;
my $core = grep { $_ eq 'PERL_CORE=1' } @ARGV;
@@ -16,6 +17,9 @@
'File::Spec' => 0.8,
},
'INSTALLDIRS' => 'perl',
+ 'INSTALLPRIVLIB' => ($] >= 5.011) ? $Config{installarchlib}
+ : $Config{installprivlib},
+
'PL_FILES' => {},
'test' => { 'TESTS' => 't/*.t t/compat/*.t' },