summaryrefslogtreecommitdiff
path: root/cpan
diff options
context:
space:
mode:
authorCraig A. Berry <craigberry@mac.com>2013-03-06 22:01:24 -0600
committerCraig A. Berry <craigberry@mac.com>2013-03-06 22:40:07 -0600
commitec3fc3c1a6073e4315330c1e2a9df8a0d5d9fdb3 (patch)
tree3ac528ba4bab58545f768ac5b417c275d28ba403 /cpan
parent8818c98f34d13483ef3f7e76a69e429397237efe (diff)
downloadperl-ec3fc3c1a6073e4315330c1e2a9df8a0d5d9fdb3.tar.gz
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
Diffstat (limited to 'cpan')
-rw-r--r--cpan/Digest-SHA/Makefile.PL5
1 files changed, 3 insertions, 2 deletions
diff --git a/cpan/Digest-SHA/Makefile.PL b/cpan/Digest-SHA/Makefile.PL
index f367dfa89b..6119bfa417 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 = (