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) {