In perl.git, the branch blead has been updated

<http://perl5.git.perl.org/perl.git/commitdiff/14c8eaf861cb4863a59c3d58f1b6d1d6f48def1c?hp=40979185493cb2dd7058d363c41cacdf2ead2757>

- Log -----------------------------------------------------------------
commit 14c8eaf861cb4863a59c3d58f1b6d1d6f48def1c
Author: Craig A. Berry <[email protected]>
Date:   Tue Dec 16 19:14:11 2014 -0600

    Clean up VMS includes in ext/Errno/Errno_pm.PL.
    
    There are currently (and for many years now) no viable alternatives
    to the headers that come with the operating system, regardless of
    compiler.

M       ext/Errno/Errno_pm.PL

commit 3cf97631d086ff2ed3ada2789408f8d7901749dc
Author: Craig A. Berry <[email protected]>
Date:   Tue Dec 16 19:11:22 2014 -0600

    Obsolete workaround in ext/SDBM_File/sdbm/Makefile.PL.
    
    Hasn't been necessary or relevant for some years.

M       ext/SDBM_File/sdbm/Makefile.PL
-----------------------------------------------------------------------

Summary of changes:
 ext/Errno/Errno_pm.PL          | 12 +++---------
 ext/SDBM_File/sdbm/Makefile.PL |  5 -----
 2 files changed, 3 insertions(+), 14 deletions(-)

diff --git a/ext/Errno/Errno_pm.PL b/ext/Errno/Errno_pm.PL
index 32b91b2..3dadfce 100644
--- a/ext/Errno/Errno_pm.PL
+++ b/ext/Errno/Errno_pm.PL
@@ -2,7 +2,7 @@ use ExtUtils::MakeMaker;
 use Config;
 use strict;
 
-our $VERSION = "1.21";
+our $VERSION = "1.22";
 
 my %err = ();
 
@@ -104,15 +104,9 @@ sub default_cpp {
 
 sub get_files {
     my %file = ();
-    # VMS keeps its include files in system libraries (well, except for Gcc)
+    # VMS keeps its include files in system libraries
     if ($^O eq 'VMS') {
-       if ($Config{vms_cc_type} eq 'decc') {
-           $file{'Sys$Library:DECC$RTLDEF.TLB'} = 1;
-       } elsif ($Config{vms_cc_type} eq 'vaxc') {
-           $file{'Sys$Library:vaxcdef.tlb'} = 1;
-       } elsif ($Config{vms_cc_type} eq 'gcc') {
-           $file{'gnu_cc_include:[000000]errno.h'} = 1;
-       }
+       $file{'Sys$Library:DECC$RTLDEF.TLB'} = 1;
     } elsif ($^O eq 'os390') {
        # OS/390 C compiler doesn't generate #file or #line directives
        $file{'/usr/include/errno.h'} = 1;
diff --git a/ext/SDBM_File/sdbm/Makefile.PL b/ext/SDBM_File/sdbm/Makefile.PL
index 48e3c49..c02c75b 100644
--- a/ext/SDBM_File/sdbm/Makefile.PL
+++ b/ext/SDBM_File/sdbm/Makefile.PL
@@ -3,11 +3,6 @@ use ExtUtils::MakeMaker;
 my $define = '-DSDBM -DDUFF';
 $define .= ' -DWIN32 -DPERL_STATIC_SYMS' if ($^O eq 'MSWin32');
 
-if ($^O eq 'VMS') {  # Old VAXC compiler can't handle Duff's device
-    require Config;
-    $define =~ s/\s+-DDUFF// if $Config::Config{'vms_cc_type'} eq 'vaxc';
-}
-
 WriteMakefile(
     NAME      => 'sdbm', # (doesn't matter what the name is here) oh yes it 
does
 #    LINKTYPE  => 'static',

--
Perl5 Master Repository

Reply via email to