diff options
author | Craig A. Berry <craigberry@mac.com> | 2010-11-26 18:29:42 -0600 |
---|---|---|
committer | Craig A. Berry <craigberry@mac.com> | 2010-11-26 18:29:42 -0600 |
commit | 4edfaa8809ab489b9ce1c7936973edc2c80216db (patch) | |
tree | bfed5dba4e9dce2b0c6d46920a5256c3989c4bfa /cpan | |
parent | 8b47453d44c563ee3090c84630e0eea428f30e97 (diff) | |
download | perl-4edfaa8809ab489b9ce1c7936973edc2c80216db.tar.gz |
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
Diffstat (limited to 'cpan')
-rw-r--r-- | cpan/Time-HiRes/Makefile.PL | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/cpan/Time-HiRes/Makefile.PL b/cpan/Time-HiRes/Makefile.PL index 2b9257af29..9436f0cabe 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) { |