Skip Menu |

This queue is for tickets about the Time-HiRes CPAN distribution.

Report information
The Basics
Id: 63363
Status: resolved
Priority: 0/
Queue: Time-HiRes

People
Owner: Nobody in particular
Requestors: cberry [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 1.9721
Fixed in: (no value)



Subject: Makefile.PL fixes for VMS
Since things moved around in core we haven't been correctly building the configuration probes. The attached patch fixes that and also simplifies core and non-core builds by taking advantage of the ready-made $COREincdir.
Subject: thires_make.patch
--- Makefile.PL;-0 2010-06-26 17:34:10 -0500 +++ Makefile.PL 2010-11-20 10:36:59 -0600 @@ -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) {
Patch incorporated into Time-HiRes-1.9722, just uploaded to CPAN. Thanks.