From 4edfaa8809ab489b9ce1c7936973edc2c80216db Mon Sep 17 00:00:00 2001 From: "Craig A. Berry" Date: Fri, 26 Nov 2010 18:29:42 -0600 Subject: [PATCH 1/1] Fix Time::HiRes probes on VMS. We have not been correctly building this on VMS since the location was changed in core because we have not been able to loate include files. This mirrors the upstream patch at: https://rt.cpan.org/Ticket/Display.html?id=63363 --- cpan/Time-HiRes/Makefile.PL | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/cpan/Time-HiRes/Makefile.PL b/cpan/Time-HiRes/Makefile.PL index 2b9257a..9436f0c 100644 --- a/cpan/Time-HiRes/Makefile.PL +++ b/cpan/Time-HiRes/Makefile.PL @@ -118,15 +118,7 @@ __EOD__ my $ccflags = $Config{'ccflags'} . ' ' . "-I$COREincdir"; if ($^O eq 'VMS') { - if ($ENV{PERL_CORE}) { - # Fragile if the extensions change hierarchy within - # the Perl core but this should do for now. - $cccmd = "$Config{'cc'} /include=([---]) $tmp.c"; - } else { - my $perl_core = $Config{'installarchlib'}; - $perl_core =~ s/\]$/.CORE]/; - $cccmd = "$Config{'cc'} /include=(perl_root:[000000],$perl_core) $tmp.c"; - } + $cccmd = "$Config{'cc'} /include=($COREincdir) $tmp.c"; } if ($args{silent} || !$VERBOSE) { -- 1.8.3.1