From: Rafael Garcia-Suarez Date: Thu, 6 Dec 2007 11:43:32 +0000 (+0000) Subject: Upgrade to ExtUtils::MakeMaker 6.40. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=3a0105ce22d984a07f87a03826385acd066a988a;p=p5sagit%2Fp5-mst-13.2.git Upgrade to ExtUtils::MakeMaker 6.40. p4raw-id: //depot/perl@32585 --- diff --git a/lib/ExtUtils/Changes b/lib/ExtUtils/Changes index 5876fd4..badf5bf 100644 --- a/lib/ExtUtils/Changes +++ b/lib/ExtUtils/Changes @@ -1,3 +1,11 @@ +6.40 Thu Dec 6 03:00:47 PST 2007 + Bug Fixes + - Remove the dubious nicetext() Makefile formatting hack to account for + a lack of space between the target and colon needed on VMS. This + interfered with META.yml creation on VMS and possibly other output. + - Fix the remaining targets which don't have a space between the target + and the colon. + 6.38 Wed Nov 28 16:01:12 PST 2007 Releasing 6.37_03 as 6.38. diff --git a/lib/ExtUtils/Command/MM.pm b/lib/ExtUtils/Command/MM.pm index 1080504..3f71319 100644 --- a/lib/ExtUtils/Command/MM.pm +++ b/lib/ExtUtils/Command/MM.pm @@ -9,7 +9,7 @@ use vars qw($VERSION @ISA @EXPORT); @EXPORT = qw(test_harness pod2man perllocal_install uninstall warn_if_old_packlist); -$VERSION = '6.38'; +$VERSION = '6.40'; my $Is_VMS = $^O eq 'VMS'; diff --git a/lib/ExtUtils/Liblist.pm b/lib/ExtUtils/Liblist.pm index 93d72c6..c31f7aa 100644 --- a/lib/ExtUtils/Liblist.pm +++ b/lib/ExtUtils/Liblist.pm @@ -3,7 +3,7 @@ package ExtUtils::Liblist; use strict; use vars qw($VERSION @ISA); -$VERSION = '6.38'; +$VERSION = '6.40'; use File::Spec; require ExtUtils::Liblist::Kid; diff --git a/lib/ExtUtils/Liblist/Kid.pm b/lib/ExtUtils/Liblist/Kid.pm index c8e1956..e4d792a 100644 --- a/lib/ExtUtils/Liblist/Kid.pm +++ b/lib/ExtUtils/Liblist/Kid.pm @@ -10,7 +10,7 @@ use 5.00503; use strict; use vars qw($VERSION); -$VERSION = 6.38; +$VERSION = 6.40; use Config; use Cwd 'cwd'; diff --git a/lib/ExtUtils/MM.pm b/lib/ExtUtils/MM.pm index f4e3ed7..5c72278 100644 --- a/lib/ExtUtils/MM.pm +++ b/lib/ExtUtils/MM.pm @@ -3,7 +3,7 @@ package ExtUtils::MM; use strict; use ExtUtils::MakeMaker::Config; use vars qw(@ISA $VERSION); -$VERSION = '6.38'; +$VERSION = '6.40'; require ExtUtils::Liblist; require ExtUtils::MakeMaker; diff --git a/lib/ExtUtils/MM_AIX.pm b/lib/ExtUtils/MM_AIX.pm index d241b5f..c45ad11 100644 --- a/lib/ExtUtils/MM_AIX.pm +++ b/lib/ExtUtils/MM_AIX.pm @@ -2,7 +2,7 @@ package ExtUtils::MM_AIX; use strict; use vars qw($VERSION @ISA); -$VERSION = '6.38'; +$VERSION = '6.40'; require ExtUtils::MM_Unix; @ISA = qw(ExtUtils::MM_Unix); diff --git a/lib/ExtUtils/MM_Any.pm b/lib/ExtUtils/MM_Any.pm index e368026..7c12b4f 100644 --- a/lib/ExtUtils/MM_Any.pm +++ b/lib/ExtUtils/MM_Any.pm @@ -2,7 +2,7 @@ package ExtUtils::MM_Any; use strict; use vars qw($VERSION @ISA); -$VERSION = '6.38'; +$VERSION = '6.40'; use Carp; use File::Spec; @@ -648,7 +648,7 @@ confused or something gets snuck in before the real 'all' target. sub makemakerdflt_target { return <<'MAKE_FRAG'; -makemakerdflt: all +makemakerdflt : all $(NOECHO) $(NOOP) MAKE_FRAG @@ -711,7 +711,7 @@ sub metafile_target { my $self = shift; return <<'MAKE_FRAG' if $self->{NO_META}; -metafile: +metafile : $(NOECHO) $(NOOP) MAKE_FRAG diff --git a/lib/ExtUtils/MM_BeOS.pm b/lib/ExtUtils/MM_BeOS.pm index 29b8c88..ffaa021 100644 --- a/lib/ExtUtils/MM_BeOS.pm +++ b/lib/ExtUtils/MM_BeOS.pm @@ -27,7 +27,7 @@ require ExtUtils::MM_Unix; use vars qw(@ISA $VERSION); @ISA = qw( ExtUtils::MM_Any ExtUtils::MM_Unix ); -$VERSION = '6.38'; +$VERSION = '6.40'; =item os_flavor diff --git a/lib/ExtUtils/MM_Cygwin.pm b/lib/ExtUtils/MM_Cygwin.pm index bfa57ad..bec9fcb 100644 --- a/lib/ExtUtils/MM_Cygwin.pm +++ b/lib/ExtUtils/MM_Cygwin.pm @@ -10,7 +10,7 @@ require ExtUtils::MM_Any; require ExtUtils::MM_Unix; @ISA = qw( ExtUtils::MM_Any ExtUtils::MM_Unix ); -$VERSION = '6.38'; +$VERSION = '6.40'; =head1 NAME diff --git a/lib/ExtUtils/MM_DOS.pm b/lib/ExtUtils/MM_DOS.pm index 2160484..963cc8e 100644 --- a/lib/ExtUtils/MM_DOS.pm +++ b/lib/ExtUtils/MM_DOS.pm @@ -3,7 +3,7 @@ package ExtUtils::MM_DOS; use strict; use vars qw($VERSION @ISA); -$VERSION = 6.38; +$VERSION = 6.40; require ExtUtils::MM_Any; require ExtUtils::MM_Unix; diff --git a/lib/ExtUtils/MM_MacOS.pm b/lib/ExtUtils/MM_MacOS.pm index 8d99b58..1330dd6 100644 --- a/lib/ExtUtils/MM_MacOS.pm +++ b/lib/ExtUtils/MM_MacOS.pm @@ -3,7 +3,7 @@ package ExtUtils::MM_MacOS; use strict; use vars qw($VERSION); -$VERSION = 6.38; +$VERSION = 6.40; sub new { die <<'UNSUPPORTED'; diff --git a/lib/ExtUtils/MM_NW5.pm b/lib/ExtUtils/MM_NW5.pm index 3d93acb..d5bbb75 100644 --- a/lib/ExtUtils/MM_NW5.pm +++ b/lib/ExtUtils/MM_NW5.pm @@ -23,7 +23,7 @@ use ExtUtils::MakeMaker::Config; use File::Basename; use vars qw(@ISA $VERSION); -$VERSION = '6.38'; +$VERSION = '6.40'; require ExtUtils::MM_Win32; @ISA = qw(ExtUtils::MM_Win32); diff --git a/lib/ExtUtils/MM_OS2.pm b/lib/ExtUtils/MM_OS2.pm index 0182f0a..354f17b 100644 --- a/lib/ExtUtils/MM_OS2.pm +++ b/lib/ExtUtils/MM_OS2.pm @@ -6,7 +6,7 @@ use vars qw($VERSION @ISA); use ExtUtils::MakeMaker qw(neatvalue); use File::Spec; -$VERSION = '6.38'; +$VERSION = '6.40'; require ExtUtils::MM_Any; require ExtUtils::MM_Unix; diff --git a/lib/ExtUtils/MM_QNX.pm b/lib/ExtUtils/MM_QNX.pm index dc98824..c6bfd9e 100644 --- a/lib/ExtUtils/MM_QNX.pm +++ b/lib/ExtUtils/MM_QNX.pm @@ -2,7 +2,7 @@ package ExtUtils::MM_QNX; use strict; use vars qw($VERSION @ISA); -$VERSION = '6.38'; +$VERSION = '6.40'; require ExtUtils::MM_Unix; @ISA = qw(ExtUtils::MM_Unix); diff --git a/lib/ExtUtils/MM_UWIN.pm b/lib/ExtUtils/MM_UWIN.pm index 3d964c6..8d41325 100644 --- a/lib/ExtUtils/MM_UWIN.pm +++ b/lib/ExtUtils/MM_UWIN.pm @@ -2,7 +2,7 @@ package ExtUtils::MM_UWIN; use strict; use vars qw($VERSION @ISA); -$VERSION = 6.38; +$VERSION = 6.40; require ExtUtils::MM_Unix; @ISA = qw(ExtUtils::MM_Unix); diff --git a/lib/ExtUtils/MM_Unix.pm b/lib/ExtUtils/MM_Unix.pm index cc91067..8107535 100644 --- a/lib/ExtUtils/MM_Unix.pm +++ b/lib/ExtUtils/MM_Unix.pm @@ -18,7 +18,7 @@ use vars qw($VERSION @ISA use ExtUtils::MakeMaker qw($Verbose neatvalue); -$VERSION = '6.38'; +$VERSION = '6.40'; require ExtUtils::MM_Any; @ISA = qw(ExtUtils::MM_Any); @@ -1198,7 +1198,7 @@ Writes an empty FORCE: target. sub force { my($self) = shift; '# Phony target to force checking subdirectories. -FORCE: +FORCE : $(NOECHO) $(NOOP) '; } @@ -2539,7 +2539,7 @@ $tmp/perlmain.c: $makefilename}, q{ push @m, q{ -doc_inst_perl: +doc_inst_perl : $(NOECHO) $(ECHO) Appending installation info to $(DESTINSTALLARCHLIB)/perllocal.pod -$(NOECHO) $(MKPATH) $(DESTINSTALLARCHLIB) -$(NOECHO) $(DOC_INSTALL) \ @@ -2552,9 +2552,9 @@ doc_inst_perl: }; push @m, q{ -inst_perl: pure_inst_perl doc_inst_perl +inst_perl : pure_inst_perl doc_inst_perl -pure_inst_perl: $(MAP_TARGET) +pure_inst_perl : $(MAP_TARGET) }.$self->{CP}.q{ $(MAP_TARGET) }.$self->catfile('$(DESTINSTALLBIN)','$(MAP_TARGET)').q{ clean :: map_clean @@ -2646,22 +2646,6 @@ sub needs_linking { return $self->{NEEDS_LINKING} = 0; } -=item nicetext - -misnamed method (will have to be changed). The MM_Unix method just -returns the argument without further processing. - -On VMS used to insure that colons marking targets are preceded by -space - most Unix Makes don't need this, but it's necessary under VMS -to distinguish the target delimiter from a colon appearing as part of -a filespec. - -=cut - -sub nicetext { - my($self,$text) = @_; - $text; -} =item parse_abstract @@ -3038,7 +3022,7 @@ PPD_XML return sprintf <<'PPD_OUT', join "\n\t", @ppd_cmds; # Creates a PPD (Perl Package Description) for a binary distribution. -ppd: +ppd : %s PPD_OUT diff --git a/lib/ExtUtils/MM_VMS.pm b/lib/ExtUtils/MM_VMS.pm index ceb5110..65ace84 100644 --- a/lib/ExtUtils/MM_VMS.pm +++ b/lib/ExtUtils/MM_VMS.pm @@ -18,7 +18,7 @@ use File::Basename; # $Revision can't be on the same line or SVN/K gets confused use vars qw($Revision $VERSION @ISA); -$VERSION = '6.38'; +$VERSION = '6.40'; require ExtUtils::MM_Any; require ExtUtils::MM_Unix; @@ -1571,23 +1571,7 @@ map_clean : join '', @m; } - -# --- Output postprocessing section --- -=item nicetext (override) - -Insure that colons marking targets are preceded by space, in order -to distinguish the target delimiter from a colon appearing as -part of a filespec. - -=cut - -sub nicetext { - my($self,$text) = @_; - return $text if $text =~ m/^\w+\s*=/; # leave macro defs alone - $text =~ s/([^\s:])(:+\s)/$1 $2/gs; - $text; -} =item prefixify (override) diff --git a/lib/ExtUtils/MM_VOS.pm b/lib/ExtUtils/MM_VOS.pm index cc92e13..55e9d2d 100644 --- a/lib/ExtUtils/MM_VOS.pm +++ b/lib/ExtUtils/MM_VOS.pm @@ -2,7 +2,7 @@ package ExtUtils::MM_VOS; use strict; use vars qw($VERSION @ISA); -$VERSION = '6.38'; +$VERSION = '6.40'; require ExtUtils::MM_Unix; @ISA = qw(ExtUtils::MM_Unix); diff --git a/lib/ExtUtils/MM_Win32.pm b/lib/ExtUtils/MM_Win32.pm index 9ac6e0e..997829b 100644 --- a/lib/ExtUtils/MM_Win32.pm +++ b/lib/ExtUtils/MM_Win32.pm @@ -29,7 +29,7 @@ use vars qw(@ISA $VERSION); require ExtUtils::MM_Any; require ExtUtils::MM_Unix; @ISA = qw( ExtUtils::MM_Any ExtUtils::MM_Unix ); -$VERSION = '6.38'; +$VERSION = '6.40'; $ENV{EMXSHELL} = 'sh'; # to run `commands` diff --git a/lib/ExtUtils/MM_Win95.pm b/lib/ExtUtils/MM_Win95.pm index bbc1e5a..dc898e1 100644 --- a/lib/ExtUtils/MM_Win95.pm +++ b/lib/ExtUtils/MM_Win95.pm @@ -3,7 +3,7 @@ package ExtUtils::MM_Win95; use strict; use vars qw($VERSION @ISA); -$VERSION = '6.38'; +$VERSION = '6.40'; require ExtUtils::MM_Win32; @ISA = qw(ExtUtils::MM_Win32); diff --git a/lib/ExtUtils/MY.pm b/lib/ExtUtils/MY.pm index 9080e16..914d26d 100644 --- a/lib/ExtUtils/MY.pm +++ b/lib/ExtUtils/MY.pm @@ -4,7 +4,7 @@ use strict; require ExtUtils::MM; use vars qw(@ISA $VERSION); -$VERSION = 6.38; +$VERSION = 6.40; @ISA = qw(ExtUtils::MM); { diff --git a/lib/ExtUtils/MakeMaker.pm b/lib/ExtUtils/MakeMaker.pm index 6380fca..3694780 100644 --- a/lib/ExtUtils/MakeMaker.pm +++ b/lib/ExtUtils/MakeMaker.pm @@ -1,4 +1,4 @@ -# $Id: /local/ExtUtils-MakeMaker/lib/ExtUtils/MakeMaker.pm 40911 2007-11-29T00:01:57.856094Z schwern $ +# $Id: /local/ExtUtils-MakeMaker/lib/ExtUtils/MakeMaker.pm 41130 2007-12-06T11:04:43.533533Z schwern $ package ExtUtils::MakeMaker; BEGIN {require 5.005_03;} @@ -21,8 +21,8 @@ use vars qw( use vars qw($Revision); use strict; -$VERSION = '6.38'; -($Revision) = q$Revision: 40911 $ =~ /Revision:\s+(\S+)/; +$VERSION = '6.40'; +($Revision) = q$Revision: 41130 $ =~ /Revision:\s+(\S+)/; @ISA = qw(Exporter); @EXPORT = qw(&WriteMakefile &writeMakefile $Verbose &prompt); @@ -635,7 +635,7 @@ END my(%a) = %{$self->{$section} || {}}; push @{$self->{RESULT}}, "\n# --- MakeMaker $section section:"; push @{$self->{RESULT}}, "# " . join ", ", %a if $Verbose && %a; - push @{$self->{RESULT}}, $self->nicetext($self->$method( %a )); + push @{$self->{RESULT}}, $self->$method( %a ); } } @@ -660,15 +660,15 @@ sub WriteEmptyMakefile { } open MF, '>'.$new or die "open $new for write: $!"; print MF <<'EOP'; -all: +all : -clean: +clean : -install: +install : -makemakerdflt: +makemakerdflt : -test: +test : EOP close MF or die "close $new for write: $!"; @@ -2188,7 +2188,7 @@ MakeMaker object. The following lines will be parsed o.k.: $VERSION = '1.00'; *VERSION = \'1.01'; - ($VERSION) = q$Revision: 40911 $ =~ /(\d+)/g; + ($VERSION) = q$Revision: 41130 $ =~ /(\d+)/g; $FOO::VERSION = '1.10'; *FOO::VERSION = \'1.11'; our $VERSION = 1.2.3; # new for perl5.6.0 diff --git a/lib/ExtUtils/MakeMaker/Config.pm b/lib/ExtUtils/MakeMaker/Config.pm index e733a76..523e1d8 100644 --- a/lib/ExtUtils/MakeMaker/Config.pm +++ b/lib/ExtUtils/MakeMaker/Config.pm @@ -1,6 +1,6 @@ package ExtUtils::MakeMaker::Config; -$VERSION = '6.38'; +$VERSION = '6.40'; use strict; use Config (); diff --git a/lib/ExtUtils/MakeMaker/bytes.pm b/lib/ExtUtils/MakeMaker/bytes.pm index 2d6047e..8097c37 100644 --- a/lib/ExtUtils/MakeMaker/bytes.pm +++ b/lib/ExtUtils/MakeMaker/bytes.pm @@ -3,7 +3,7 @@ package ExtUtils::MakeMaker::bytes; use strict; use vars qw($VERSION); -$VERSION = 6.38; +$VERSION = 6.40; my $Have_Bytes = eval q{require bytes; 1;}; diff --git a/lib/ExtUtils/MakeMaker/vmsish.pm b/lib/ExtUtils/MakeMaker/vmsish.pm index b8d727f..b78864c 100644 --- a/lib/ExtUtils/MakeMaker/vmsish.pm +++ b/lib/ExtUtils/MakeMaker/vmsish.pm @@ -3,7 +3,7 @@ package ExtUtils::MakeMaker::vmsish; use strict; use vars qw($VERSION); -$VERSION = 6.38; +$VERSION = 6.40; my $IsVMS = $^O eq 'VMS'; diff --git a/lib/ExtUtils/Mkbootstrap.pm b/lib/ExtUtils/Mkbootstrap.pm index 71cc6b7..f1380de 100644 --- a/lib/ExtUtils/Mkbootstrap.pm +++ b/lib/ExtUtils/Mkbootstrap.pm @@ -4,7 +4,7 @@ package ExtUtils::Mkbootstrap; use strict 'refs'; use vars qw($VERSION @ISA @EXPORT); -$VERSION = '6.38'; +$VERSION = '6.40'; require Exporter; @ISA = ('Exporter'); diff --git a/lib/ExtUtils/Mksymlists.pm b/lib/ExtUtils/Mksymlists.pm index 93e06c0..4a4e8aa 100644 --- a/lib/ExtUtils/Mksymlists.pm +++ b/lib/ExtUtils/Mksymlists.pm @@ -11,7 +11,7 @@ use Config; use vars qw(@ISA @EXPORT $VERSION); @ISA = 'Exporter'; @EXPORT = '&Mksymlists'; -$VERSION = '6.38'; +$VERSION = '6.40'; sub Mksymlists { my(%spec) = @_; diff --git a/lib/ExtUtils/t/MM_Unix.t b/lib/ExtUtils/t/MM_Unix.t index f9b07f8..ffcfd29 100644 --- a/lib/ExtUtils/t/MM_Unix.t +++ b/lib/ExtUtils/t/MM_Unix.t @@ -18,7 +18,7 @@ BEGIN { plan skip_all => 'Non-Unix platform'; } else { - plan tests => 110; + plan tests => 109; } } @@ -176,11 +176,6 @@ chmod 0755, "command"; ok ($t->maybe_command('command'), "executable file is a command"); unlink "command"; -############################################################################### -# nicetext (dummy method) - -is ($t->nicetext('LOTR'),'LOTR','nicetext'); - ############################################################################### # perl_script (on unix any ordinary, readable file) diff --git a/lib/ExtUtils/t/MM_VMS.t b/lib/ExtUtils/t/MM_VMS.t index dcc5ed6..406b17f 100644 --- a/lib/ExtUtils/t/MM_VMS.t +++ b/lib/ExtUtils/t/MM_VMS.t @@ -56,7 +56,6 @@ BEGIN { test_via_harness test_via_script makeaperl - nicetext )); } diff --git a/lib/ExtUtils/testlib.pm b/lib/ExtUtils/testlib.pm index 52e3cc6..9608c02 100644 --- a/lib/ExtUtils/testlib.pm +++ b/lib/ExtUtils/testlib.pm @@ -3,7 +3,7 @@ package ExtUtils::testlib; use strict; use vars qw($VERSION); -$VERSION = 6.38; +$VERSION = 6.40; use Cwd; use File::Spec;