Subject: | [PATCH] Site install masked by core |
With 5.10.x, Digest::SHA is in the core Perl directories. When
installed from CPAN, it gets installed in the 'site' dirs. As
such, the older version in core masks the newly installed version.
The following patch (also attached) fixes this:
--- Digest-SHA-5.46/Makefile.PL
+++ Digest-SHA-5.46/Makefile.PL
@@ -30,6 +30,7 @@
'DEFINE' => $define,
'INC' => '-I.',
'EXE_FILES' => [ 'shasum' ],
+ 'INSTALLDIRS' => ($] >= 5.010) ? 'perl' : 'site',
);
my $MMversion = $ExtUtils::MakeMaker::VERSION || 0;
Subject: | fix.patch |
--- Digest-SHA-5.46/Makefile.PL
+++ Digest-SHA-5.46/Makefile.PL
@@ -30,6 +30,7 @@
'DEFINE' => $define,
'INC' => '-I.',
'EXE_FILES' => [ 'shasum' ],
+ 'INSTALLDIRS' => ($] >= 5.010) ? 'perl' : 'site',
);
my $MMversion = $ExtUtils::MakeMaker::VERSION || 0;