In perl.git, the branch blead has been updated

<http://perl5.git.perl.org/perl.git/commitdiff/ec3fc3c1a6073e4315330c1e2a9df8a0d5d9fdb3?hp=8818c98f34d13483ef3f7e76a69e429397237efe>

- Log -----------------------------------------------------------------
commit ec3fc3c1a6073e4315330c1e2a9df8a0d5d9fdb3
Author: Craig A. Berry <[email protected]>
Date:   Wed Mar 6 22:01:24 2013 -0600

    Portability fix for new Digest::SHA Makefile.PL.
    
    Non-native file specifications don't play nice with native make
    utilities.
    
    Without this, the build on VMS is broken.  Submitted upstream at:
    
    https://rt.cpan.org/Ticket/Display.html?id=83800
-----------------------------------------------------------------------

Summary of changes:
 cpan/Digest-SHA/Makefile.PL |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/cpan/Digest-SHA/Makefile.PL b/cpan/Digest-SHA/Makefile.PL
index f367dfa..6119bfa 100644
--- a/cpan/Digest-SHA/Makefile.PL
+++ b/cpan/Digest-SHA/Makefile.PL
@@ -4,6 +4,7 @@ use strict;
 use ExtUtils::MakeMaker;
 use Getopt::Std;
 use Config qw(%Config);
+use File::Spec;
 
 my $PM = 'lib/Digest/SHA.pm';
 
@@ -33,8 +34,8 @@ if ($Config{archname} =~ /^i[3456]86/ && $Config{ccname} eq 
'gcc') {
        push(@extra, OPTIMIZE => '-O1 -fomit-frame-pointer');
 }
 
-my @srcs = map { "src/$_" } qw(sha.c sha64bit.c);
-my @hdrs = map { "src/$_" } qw(sha.h sha64bit.h);
+my @srcs = map { File::Spec->catfile('src', $_) } qw(sha.c sha64bit.c);
+my @hdrs = map { File::Spec->catfile('src', $_) } qw(sha.h sha64bit.h);
 my $deps = join(' ', @srcs, @hdrs);
 
 my %att = (

--
Perl5 Master Repository

Reply via email to