Skip to content

Commit

Permalink
Update ExtUtils-MakeMaker to CPAN version 7.64
Browse files Browse the repository at this point in the history
  [DELTA]

7.64  Fri 17 Dec 15:35:46 GMT 2021

    No changes since v7.63_11

7.63_11 Tue 14 Dec 16:00:11 GMT 2021

    OS390 fixes:
    - Extend prereqs sort to work on EBCDIC

7.63_10 Mon 13 Dec 16:26:49 GMT 2021

    OS390 fixes:
    - Fix dynamic loading

7.63_09 Wed  8 Dec 22:20:53 GMT 2021

    Enhancements:
    - Don't use canned libpth values

7.63_08 Sat 27 Nov 17:28:03 GMT 2021

    Correction:
    - Previous change to ${LDFLAGS) was reverted

7.63_07 Sat 27 Nov 11:34:12 GMT 2021

    Enhancements:
    - Add $(LDFLAGS) when linking binary modules

7.63_06 Wed  3 Nov 01:24:05 GMT 2021

    Bug fixes:
    - Add -rpath when compiling XS modules on macOS

7.63_05 Sat 14 Aug 09:04:08 BST 2021

    Enhancements:
    - Added CPPRUN variable

7.63_04 Wed 30 Jun 15:15:01 BST 2021

    Doc fixes:
    - Describe CCFLAGS’ default

7.63_03 Tue 22 Jun 14:39:32 BST 2021

    OS390 Enhancements:
    - Fix override xs_make_dynamic_lib() for os390

7.63_02 Thu  3 Jun 19:52:03 BST 2021

    Doc fixes:
    - Changed wording for POLLUTE

7.63_01 Tue 25 May 16:22:50 BST 2021

    Bug fixes:
    - Comparing inodes numerically is unsafe
  • Loading branch information
bingos committed Dec 18, 2021
1 parent a3aaec9 commit d58d6b4
Show file tree
Hide file tree
Showing 37 changed files with 345 additions and 53 deletions.
1 change: 1 addition & 0 deletions MANIFEST
Expand Up @@ -818,6 +818,7 @@ cpan/ExtUtils-MakeMaker/t/00compile.t See if MakeMaker modules compile
cpan/ExtUtils-MakeMaker/t/01perl_bugs.t
cpan/ExtUtils-MakeMaker/t/02-xsdynamic.t
cpan/ExtUtils-MakeMaker/t/03-xsstatic.t
cpan/ExtUtils-MakeMaker/t/04-xs-rpath-darwin.t
cpan/ExtUtils-MakeMaker/t/arch_check.t Test MakeMaker's arch_check()
cpan/ExtUtils-MakeMaker/t/backwards.t Check MakeMaker's backwards compatibility
cpan/ExtUtils-MakeMaker/t/basic.t See if MakeMaker can build a module
Expand Down
2 changes: 1 addition & 1 deletion Porting/Maintainers.pl
Expand Up @@ -467,7 +467,7 @@ package Maintainers;
},

'ExtUtils::MakeMaker' => {
'DISTRIBUTION' => 'BINGOS/ExtUtils-MakeMaker-7.62.tar.gz',
'DISTRIBUTION' => 'BINGOS/ExtUtils-MakeMaker-7.64.tar.gz',
'FILES' => q[cpan/ExtUtils-MakeMaker],
'EXCLUDED' => [
qr{^t/lib/Test/},
Expand Down
2 changes: 1 addition & 1 deletion cpan/ExtUtils-MakeMaker/lib/ExtUtils/Command.pm
Expand Up @@ -8,7 +8,7 @@ use vars qw(@ISA @EXPORT @EXPORT_OK $VERSION);
@ISA = qw(Exporter);
@EXPORT = qw(cp rm_f rm_rf mv cat eqtime mkpath touch test_f test_d chmod
dos2unix);
$VERSION = '7.62';
$VERSION = '7.64';
$VERSION =~ tr/_//d;

my $Is_VMS = $^O eq 'VMS';
Expand Down
2 changes: 1 addition & 1 deletion cpan/ExtUtils-MakeMaker/lib/ExtUtils/Command/MM.pm
Expand Up @@ -10,7 +10,7 @@ our @ISA = qw(Exporter);

our @EXPORT = qw(test_harness pod2man perllocal_install uninstall
warn_if_old_packlist test_s cp_nonempty);
our $VERSION = '7.62';
our $VERSION = '7.64';
$VERSION =~ tr/_//d;

my $Is_VMS = $^O eq 'VMS';
Expand Down
2 changes: 1 addition & 1 deletion cpan/ExtUtils-MakeMaker/lib/ExtUtils/Liblist.pm
Expand Up @@ -3,7 +3,7 @@ package ExtUtils::Liblist;
use strict;
use warnings;

our $VERSION = '7.62';
our $VERSION = '7.64';
$VERSION =~ tr/_//d;

use File::Spec;
Expand Down
6 changes: 5 additions & 1 deletion cpan/ExtUtils-MakeMaker/lib/ExtUtils/Liblist/Kid.pm
Expand Up @@ -11,7 +11,7 @@ use 5.006;

use strict;
use warnings;
our $VERSION = '7.62';
our $VERSION = '7.64';
$VERSION =~ tr/_//d;

use ExtUtils::MakeMaker::Config;
Expand Down Expand Up @@ -58,6 +58,10 @@ sub _unix_os2_ext {
my ( $fullname, @fullname );
my ( $pwd ) = cwd(); # from Cwd.pm
my ( $found ) = 0;
if ($Config{gccversion}) {
chomp(my @incpath = grep s/^ //, grep { /^#include </ .. /^End of search / } `$Config{cc} -E -v - </dev/null 2>&1 >/dev/null`);
unshift @libpath, map { s{/include[^/]*}{/lib}; $_ } @incpath
}

if ( $^O eq 'darwin' or $^O eq 'next' ) {
# 'escape' Mach-O ld -framework and -F flags, so they aren't dropped later on
Expand Down
2 changes: 1 addition & 1 deletion cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM.pm
Expand Up @@ -4,7 +4,7 @@ use strict;
use warnings;
use ExtUtils::MakeMaker::Config;

our $VERSION = '7.62';
our $VERSION = '7.64';
$VERSION =~ tr/_//d;

require ExtUtils::Liblist;
Expand Down
2 changes: 1 addition & 1 deletion cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_AIX.pm
Expand Up @@ -2,7 +2,7 @@ package ExtUtils::MM_AIX;

use strict;
use warnings;
our $VERSION = '7.62';
our $VERSION = '7.64';
$VERSION =~ tr/_//d;

use ExtUtils::MakeMaker::Config;
Expand Down
2 changes: 1 addition & 1 deletion cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Any.pm
Expand Up @@ -2,7 +2,7 @@ package ExtUtils::MM_Any;

use strict;
use warnings;
our $VERSION = '7.62';
our $VERSION = '7.64';
$VERSION =~ tr/_//d;

use Carp;
Expand Down
2 changes: 1 addition & 1 deletion cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_BeOS.pm
Expand Up @@ -27,7 +27,7 @@ require ExtUtils::MM_Any;
require ExtUtils::MM_Unix;

our @ISA = qw( ExtUtils::MM_Any ExtUtils::MM_Unix );
our $VERSION = '7.62';
our $VERSION = '7.64';
$VERSION =~ tr/_//d;


Expand Down
2 changes: 1 addition & 1 deletion cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Cygwin.pm
Expand Up @@ -10,7 +10,7 @@ require ExtUtils::MM_Unix;
require ExtUtils::MM_Win32;
our @ISA = qw( ExtUtils::MM_Unix );

our $VERSION = '7.62';
our $VERSION = '7.64';
$VERSION =~ tr/_//d;


Expand Down
2 changes: 1 addition & 1 deletion cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_DOS.pm
Expand Up @@ -3,7 +3,7 @@ package ExtUtils::MM_DOS;
use strict;
use warnings;

our $VERSION = '7.62';
our $VERSION = '7.64';
$VERSION =~ tr/_//d;

require ExtUtils::MM_Any;
Expand Down
2 changes: 1 addition & 1 deletion cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Darwin.pm
Expand Up @@ -8,7 +8,7 @@ BEGIN {
our @ISA = qw( ExtUtils::MM_Unix );
}

our $VERSION = '7.62';
our $VERSION = '7.64';
$VERSION =~ tr/_//d;


Expand Down
2 changes: 1 addition & 1 deletion cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_MacOS.pm
Expand Up @@ -3,7 +3,7 @@ package ExtUtils::MM_MacOS;
use strict;
use warnings;

our $VERSION = '7.62';
our $VERSION = '7.64';
$VERSION =~ tr/_//d;

sub new {
Expand Down
2 changes: 1 addition & 1 deletion cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_NW5.pm
Expand Up @@ -23,7 +23,7 @@ use warnings;
use ExtUtils::MakeMaker::Config;
use File::Basename;

our $VERSION = '7.62';
our $VERSION = '7.64';
$VERSION =~ tr/_//d;

require ExtUtils::MM_Win32;
Expand Down
2 changes: 1 addition & 1 deletion cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_OS2.pm
Expand Up @@ -6,7 +6,7 @@ use warnings;
use ExtUtils::MakeMaker qw(neatvalue);
use File::Spec;

our $VERSION = '7.62';
our $VERSION = '7.64';
$VERSION =~ tr/_//d;

require ExtUtils::MM_Any;
Expand Down
6 changes: 3 additions & 3 deletions cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_OS390.pm
Expand Up @@ -2,7 +2,7 @@ package ExtUtils::MM_OS390;

use strict;
use warnings;
our $VERSION = '7.62';
our $VERSION = '7.64';
$VERSION =~ tr/_//d;

use ExtUtils::MakeMaker::Config;
Expand Down Expand Up @@ -61,8 +61,8 @@ sub xs_make_dynamic_lib {
$ld_run_path_shell = 'LD_RUN_PATH="$(LD_RUN_PATH)" ';
}

push @m, sprintf <<'MAKE', $ld_run_path_shell, $dlsyms_arg, $self->xs_obj_opt('$@'), $ldfrom, $libs, $exportlist;
%s$(LD) $(LDDLFLAGS) %s $(OTHERLDFLAGS) %s $(MYEXTLIB) %s \
push @m, sprintf <<'MAKE', $ld_run_path_shell, $self->xs_obj_opt('$@'), $dlsyms_arg, $ldfrom, $libs, $exportlist;
%s$(LD) %s $(LDDLFLAGS) %s $(OTHERLDFLAGS) %s $(MYEXTLIB) \
$(PERL_ARCHIVE) %s $(PERL_ARCHIVE_AFTER) %s \
$(INST_DYNAMIC_FIX)
$(CHMOD) $(PERM_RWX) $@
Expand Down
2 changes: 1 addition & 1 deletion cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_QNX.pm
Expand Up @@ -2,7 +2,7 @@ package ExtUtils::MM_QNX;

use strict;
use warnings;
our $VERSION = '7.62';
our $VERSION = '7.64';
$VERSION =~ tr/_//d;

require ExtUtils::MM_Unix;
Expand Down
2 changes: 1 addition & 1 deletion cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_UWIN.pm
Expand Up @@ -2,7 +2,7 @@ package ExtUtils::MM_UWIN;

use strict;
use warnings;
our $VERSION = '7.62';
our $VERSION = '7.64';
$VERSION =~ tr/_//d;

require ExtUtils::MM_Unix;
Expand Down
22 changes: 16 additions & 6 deletions cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm
Expand Up @@ -15,7 +15,7 @@ use ExtUtils::MakeMaker qw($Verbose neatvalue _sprintf562);

# If we make $VERSION an our variable parse_version() breaks
use vars qw($VERSION);
$VERSION = '7.62';
$VERSION = '7.64';
$VERSION =~ tr/_//d;

require ExtUtils::MM_Any;
Expand Down Expand Up @@ -141,9 +141,9 @@ sub c_o {
$flags =~ s/"-I(\$\(PERL_INC\))"/-iwithsysroot "$1"/;
}

if (my $cpp = $Config{cpprun}) {
if (my $cpp = $self->{CPPRUN}) {
my $cpp_cmd = $self->const_cccmd;
$cpp_cmd =~ s/^CCCMD\s*=\s*\$\(CC\)/$cpp/;
$cpp_cmd =~ s/^CCCMD\s*=\s*\$\(CC\)/\$(CPPRUN)/;
push @m, qq{
.c.i:
$cpp_cmd $flags \$*.c > \$*.i
Expand Down Expand Up @@ -1048,9 +1048,19 @@ sub xs_make_dynamic_lib {
}
$ldfrom = "-all $ldfrom -none" if $Is{OSF};

my $ldrun = '';
# The IRIX linker doesn't use LD_RUN_PATH
my $ldrun = $Is{IRIX} && $self->{LD_RUN_PATH} ?
qq{-rpath "$self->{LD_RUN_PATH}"} : '';
if ( $self->{LD_RUN_PATH} ) {
if ( $Is{IRIX} ) {
$ldrun = qq{-rpath "$self->{LD_RUN_PATH}"};
}
elsif ( $^O eq 'darwin' ) {
# both clang and gcc support -Wl,-rpath, but only clang supports
# -rpath so by using -Wl,-rpath we avoid having to check for the
# type of compiler
$ldrun = qq{-Wl,-rpath,"$self->{LD_RUN_PATH}"};
}
}

# For example in AIX the shared objects/libraries from previous builds
# linger quite a while in the shared dynalinker cache even when nobody
Expand Down Expand Up @@ -1315,7 +1325,7 @@ sub _fixin_replace_shebang {
if ($self->maybe_command($origcmd) && grep { $_ eq $origdir } @absdirs) {
my ($odev, $oino) = stat $origcmd;
my ($idev, $iino) = stat $interpreter;
if ($odev == $idev && $oino == $iino) {
if ($odev == $idev && $oino eq $iino) {
warn "$origcmd is the same as $interpreter, leaving alone"
if $Verbose;
$interpreter = $origcmd;
Expand Down
2 changes: 1 addition & 1 deletion cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_VMS.pm
Expand Up @@ -16,7 +16,7 @@ BEGIN {

use File::Basename;

our $VERSION = '7.62';
our $VERSION = '7.64';
$VERSION =~ tr/_//d;

require ExtUtils::MM_Any;
Expand Down
2 changes: 1 addition & 1 deletion cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_VOS.pm
Expand Up @@ -2,7 +2,7 @@ package ExtUtils::MM_VOS;

use strict;
use warnings;
our $VERSION = '7.62';
our $VERSION = '7.64';
$VERSION =~ tr/_//d;

require ExtUtils::MM_Unix;
Expand Down
2 changes: 1 addition & 1 deletion cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Win32.pm
Expand Up @@ -27,7 +27,7 @@ use ExtUtils::MakeMaker qw(neatvalue _sprintf562);
require ExtUtils::MM_Any;
require ExtUtils::MM_Unix;
our @ISA = qw( ExtUtils::MM_Any ExtUtils::MM_Unix );
our $VERSION = '7.62';
our $VERSION = '7.64';
$VERSION =~ tr/_//d;

$ENV{EMXSHELL} = 'sh'; # to run `commands`
Expand Down
2 changes: 1 addition & 1 deletion cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Win95.pm
Expand Up @@ -3,7 +3,7 @@ package ExtUtils::MM_Win95;
use strict;
use warnings;

our $VERSION = '7.62';
our $VERSION = '7.64';
$VERSION =~ tr/_//d;

require ExtUtils::MM_Win32;
Expand Down
2 changes: 1 addition & 1 deletion cpan/ExtUtils-MakeMaker/lib/ExtUtils/MY.pm
Expand Up @@ -3,7 +3,7 @@ package ExtUtils::MY;
use strict;
require ExtUtils::MM;

our $VERSION = '7.62';
our $VERSION = '7.64';
$VERSION =~ tr/_//d;
our @ISA = qw(ExtUtils::MM);

Expand Down
22 changes: 13 additions & 9 deletions cpan/ExtUtils-MakeMaker/lib/ExtUtils/MakeMaker.pm
Expand Up @@ -25,7 +25,7 @@ my %Recognized_Att_Keys;
our %macro_fsentity; # whether a macro is a filesystem name
our %macro_dep; # whether a macro is a dependency

our $VERSION = '7.62';
our $VERSION = '7.64';
$VERSION =~ tr/_//d;

# Emulate something resembling CVS $Revision$
Expand Down Expand Up @@ -393,7 +393,7 @@ sub full_setup {
# we will use all these variables in the Makefile
@Get_from_Config =
qw(
ar cc cccdlflags ccdlflags dlext dlsrc exe_ext full_ar ld
ar cc cccdlflags ccdlflags cpprun dlext dlsrc exe_ext full_ar ld
lddlflags ldflags libc lib_ext obj_ext osname osvers ranlib
sitelibexp sitearchexp so
);
Expand Down Expand Up @@ -634,7 +634,7 @@ END

if (%unsatisfied && $self->{PREREQ_FATAL}){
my $failedprereqs = join "\n", map {" $_ $unsatisfied{$_}"}
sort { $a cmp $b } keys %unsatisfied;
sort { lc $a cmp lc $b } keys %unsatisfied;
die <<"END";
MakeMaker FATAL: prerequisites not found.
$failedprereqs
Expand Down Expand Up @@ -720,7 +720,7 @@ END
# RT#91540 PREREQ_FATAL not recognized on command line
if (%unsatisfied && $self->{PREREQ_FATAL}){
my $failedprereqs = join "\n", map {" $_ $unsatisfied{$_}"}
sort { $a cmp $b } keys %unsatisfied;
sort { lc $a cmp lc $b } keys %unsatisfied;
die <<"END";
MakeMaker FATAL: prerequisites not found.
$failedprereqs
Expand Down Expand Up @@ -1836,7 +1836,11 @@ currently used by MakeMaker but may be handy in Makefile.PLs.
=item CCFLAGS
String that will be included in the compiler call command line between
the arguments INC and OPTIMIZE.
the arguments INC and OPTIMIZE. Note that setting this will overwrite its
default value (C<$Config::Config{ccflags}>); to preserve that, include
the default value directly, e.g.:
CCFLAGS => "$Config::Config{ccflags} ..."
=item CONFIG
Expand All @@ -1846,6 +1850,7 @@ ar
cc
cccdlflags
ccdlflags
cpprun
dlext
dlsrc
ld
Expand Down Expand Up @@ -2671,10 +2676,9 @@ instead. See above, or the L<ExtUtils::MakeMaker::FAQ> entry.
=item POLLUTE
Release 5.005 grandfathered old global symbol names by providing preprocessor
macros for extension source compatibility. As of release 5.6, these
preprocessor definitions are not available by default. The POLLUTE flag
specifies that the old names should still be defined:
Prior to 5.6 various interpreter variables were available without a C<PL_>
prefix, eg. C<PL_undef> was available as C<undef>. As of release 5.6, these
are only defined if the POLLUTE flag is enabled:
perl Makefile.PL POLLUTE=1
Expand Down
2 changes: 1 addition & 1 deletion cpan/ExtUtils-MakeMaker/lib/ExtUtils/MakeMaker/Config.pm
Expand Up @@ -3,7 +3,7 @@ package ExtUtils::MakeMaker::Config;
use strict;
use warnings;

our $VERSION = '7.62';
our $VERSION = '7.64';
$VERSION =~ tr/_//d;

use Config ();
Expand Down
2 changes: 1 addition & 1 deletion cpan/ExtUtils-MakeMaker/lib/ExtUtils/MakeMaker/FAQ.pod
@@ -1,6 +1,6 @@
package ExtUtils::MakeMaker::FAQ;

our $VERSION = '7.62';
our $VERSION = '7.64';
$VERSION =~ tr/_//d;

1;
Expand Down
2 changes: 1 addition & 1 deletion cpan/ExtUtils-MakeMaker/lib/ExtUtils/MakeMaker/Locale.pm
Expand Up @@ -2,7 +2,7 @@ package ExtUtils::MakeMaker::Locale;

use strict;
use warnings;
our $VERSION = "7.62";
our $VERSION = "7.64";
$VERSION =~ tr/_//d;

use base 'Exporter';
Expand Down
@@ -1,6 +1,6 @@
package ExtUtils::MakeMaker::Tutorial;

our $VERSION = '7.62';
our $VERSION = '7.64';
$VERSION =~ tr/_//d;


Expand Down

0 comments on commit d58d6b4

Please sign in to comment.