Skip Menu |

This queue is for tickets about the Digest-SHA CPAN distribution.

Report information
The Basics
Id: 34875
Status: resolved
Worked: 15 min
Priority: 0/
Queue: Digest-SHA

People
Owner: mshelor [...] cpan.org
Requestors: jdhedden [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 5.46
Fixed in: 5.47



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;
Agreed. The patch will be applied to the next version of Digest::SHA (5.47), release date TBD. Mark
Fixed in version 5.47, using patch supplied by Jerry Hedden. Mark