In perl.git, the branch maint-5.10 has been updated <http://perl5.git.perl.org/perl.git/commitdiff/dd3eed69db6e68b4d50c54e45aebf193ca6f12fd?hp=dd6bf65d526315d26a9017c3838682c49e7ada68>
- Log ----------------------------------------------------------------- commit dd3eed69db6e68b4d50c54e45aebf193ca6f12fd Author: David Mitchell <[email protected]> Date: Mon Jul 6 10:41:10 2009 +0100 sync ExtUtils::CBuilder with CPAM (cherry picked from commit ab6722ad2c36a1a9f454e0ef4f64a2b46b42932e) M Porting/Maintainers.pl M lib/ExtUtils/CBuilder/Changes commit e233ebe7b32bd7731e8b71794d06d52fd0555b29 Author: David Golden <[email protected]> Date: Sat Jul 4 11:23:22 2009 -0400 Updated ExtUtils::CBuilder to 0.2602 0.2602 - Sat Jul 4 10:57:12 EDT 2009 Bugs fixed: - Fixed 00-have-compiler.t if $^X is a relative path [David Wheeler] Signed-off-by: H.Merijn Brand <[email protected]> (cherry picked from commit 9ef43512fc3a710257d7c80e6380e045ccf60f64) M lib/ExtUtils/CBuilder.pm M lib/ExtUtils/CBuilder/Base.pm M lib/ExtUtils/CBuilder/Platform/Unix.pm M lib/ExtUtils/CBuilder/Platform/VMS.pm M lib/ExtUtils/CBuilder/Platform/Windows.pm M lib/ExtUtils/CBuilder/Platform/aix.pm M lib/ExtUtils/CBuilder/Platform/cygwin.pm M lib/ExtUtils/CBuilder/Platform/darwin.pm M lib/ExtUtils/CBuilder/Platform/dec_osf.pm M lib/ExtUtils/CBuilder/Platform/os2.pm M lib/ExtUtils/CBuilder/t/00-have-compiler.t commit db47422e37418b32627477de2efd70b086951457 Author: David Mitchell <[email protected]> Date: Fri Jul 3 17:13:39 2009 +0100 sync ExtUtils::CBuilder with CPAN (cherry picked from commit 2ffb8fb7bdf924f834a6ffbb0c920c0ff0fc52cd) M lib/ExtUtils/CBuilder/Changes commit 5bcb4d265bfb9cf93909315d630833c1b3b2761b Author: David Golden <[email protected]> Date: Wed Jul 1 09:51:08 2009 -0400 Update ExtUtils::CBuilder to 0.2601 0.2601 - Wed Jul 1 09:37:39 EDT 2009 Bugs fixed: - On VMS, cleans up extra files generated during testing [John E. Malmberg, Craig Berry] Signed-off-by: H.Merijn Brand <[email protected]> (cherry picked from commit 100ba297509e735fb2473eb15eabbb4a4355b631) M Porting/Maintainers.pl M lib/ExtUtils/CBuilder.pm M lib/ExtUtils/CBuilder/Base.pm M lib/ExtUtils/CBuilder/Platform/Unix.pm M lib/ExtUtils/CBuilder/Platform/VMS.pm M lib/ExtUtils/CBuilder/Platform/Windows.pm M lib/ExtUtils/CBuilder/Platform/aix.pm M lib/ExtUtils/CBuilder/Platform/cygwin.pm M lib/ExtUtils/CBuilder/Platform/darwin.pm M lib/ExtUtils/CBuilder/Platform/dec_osf.pm M lib/ExtUtils/CBuilder/Platform/os2.pm M lib/ExtUtils/CBuilder/t/01-basic.t M lib/ExtUtils/CBuilder/t/02-link.t ----------------------------------------------------------------------- Summary of changes: Porting/Maintainers.pl | 2 +- lib/ExtUtils/CBuilder.pm | 2 +- lib/ExtUtils/CBuilder/Base.pm | 2 +- lib/ExtUtils/CBuilder/Changes | 26 ++++++++++++++++++++++++++ lib/ExtUtils/CBuilder/Platform/Unix.pm | 2 +- lib/ExtUtils/CBuilder/Platform/VMS.pm | 2 +- lib/ExtUtils/CBuilder/Platform/Windows.pm | 2 +- lib/ExtUtils/CBuilder/Platform/aix.pm | 2 +- lib/ExtUtils/CBuilder/Platform/cygwin.pm | 2 +- lib/ExtUtils/CBuilder/Platform/darwin.pm | 2 +- lib/ExtUtils/CBuilder/Platform/dec_osf.pm | 2 +- lib/ExtUtils/CBuilder/Platform/os2.pm | 2 +- lib/ExtUtils/CBuilder/t/00-have-compiler.t | 8 +++++--- lib/ExtUtils/CBuilder/t/01-basic.t | 5 +++++ lib/ExtUtils/CBuilder/t/02-link.t | 5 +++++ 15 files changed, 52 insertions(+), 14 deletions(-) diff --git a/Porting/Maintainers.pl b/Porting/Maintainers.pl index aa6ae14..a97e751 100755 --- a/Porting/Maintainers.pl +++ b/Porting/Maintainers.pl @@ -608,7 +608,7 @@ package Maintainers; 'ExtUtils::CBuilder' => { 'MAINTAINER' => 'kwilliams', - 'DISTRIBUTION' => 'DAGOLDEN/ExtUtils-CBuilder-0.26.tar.gz', + 'DISTRIBUTION' => 'DAGOLDEN/ExtUtils-CBuilder-0.2602.tar.gz', 'FILES' => q[lib/ExtUtils/CBuilder.pm lib/ExtUtils/CBuilder], 'EXCLUDED' => [ qw{devtools} ], 'CPAN' => 1, diff --git a/lib/ExtUtils/CBuilder.pm b/lib/ExtUtils/CBuilder.pm index 246a43c..eb859ae 100644 --- a/lib/ExtUtils/CBuilder.pm +++ b/lib/ExtUtils/CBuilder.pm @@ -5,7 +5,7 @@ use File::Path (); use File::Basename (); use vars qw($VERSION @ISA); -$VERSION = '0.26'; +$VERSION = '0.2602'; $VERSION = eval $VERSION; # Okay, this is the brute-force method of finding out what kind of diff --git a/lib/ExtUtils/CBuilder/Base.pm b/lib/ExtUtils/CBuilder/Base.pm index 0c78b97..1184953 100644 --- a/lib/ExtUtils/CBuilder/Base.pm +++ b/lib/ExtUtils/CBuilder/Base.pm @@ -9,7 +9,7 @@ use Text::ParseWords; use IO::File; use vars qw($VERSION); -$VERSION = '0.26'; +$VERSION = '0.2602'; sub new { my $class = shift; diff --git a/lib/ExtUtils/CBuilder/Changes b/lib/ExtUtils/CBuilder/Changes index e56a8a6..2e011ee 100644 --- a/lib/ExtUtils/CBuilder/Changes +++ b/lib/ExtUtils/CBuilder/Changes @@ -1,5 +1,31 @@ Revision history for Perl extension ExtUtils::CBuilder. +0.2602 - Sat Jul 4 10:57:12 EDT 2009 + + Bugs fixed: + - Fixed 00-have-compiler.t if $^X is a relative path [David Wheeler] + +0.2601 - Wed Jul 1 09:37:39 EDT 2009 + + Bugs fixed: + - On VMS, cleans up extra files generated during testing + [John E. Malmberg, Craig Berry] + +0.26 - Mon Jun 29 20:11:52 EDT 2009 + + - No changes from 0.25_01 + +0.25_01 - Sat Jun 27 23:13:20 EDT 2009 + + - Changed test library to Test::More + + - Added tests for have_compiler + + - Skips tests that need a compiler if have_compiler is false + + - have_compiler will try to compile in the current directory + if compiling in tmpdir fails for whatever reason + 0.25 - Fri Jun 26 16:18:13 EDT 2009 - Slight diagnostic improvements in link.t diff --git a/lib/ExtUtils/CBuilder/Platform/Unix.pm b/lib/ExtUtils/CBuilder/Platform/Unix.pm index 876fd42..8672e3e 100644 --- a/lib/ExtUtils/CBuilder/Platform/Unix.pm +++ b/lib/ExtUtils/CBuilder/Platform/Unix.pm @@ -4,7 +4,7 @@ use strict; use ExtUtils::CBuilder::Base; use vars qw($VERSION @ISA); -$VERSION = '0.26'; +$VERSION = '0.2602'; @ISA = qw(ExtUtils::CBuilder::Base); sub link_executable { diff --git a/lib/ExtUtils/CBuilder/Platform/VMS.pm b/lib/ExtUtils/CBuilder/Platform/VMS.pm index b0c3489..97434a3 100644 --- a/lib/ExtUtils/CBuilder/Platform/VMS.pm +++ b/lib/ExtUtils/CBuilder/Platform/VMS.pm @@ -4,7 +4,7 @@ use strict; use ExtUtils::CBuilder::Base; use vars qw($VERSION @ISA); -$VERSION = '0.26'; +$VERSION = '0.2602'; @ISA = qw(ExtUtils::CBuilder::Base); use File::Spec::Functions qw(catfile catdir); diff --git a/lib/ExtUtils/CBuilder/Platform/Windows.pm b/lib/ExtUtils/CBuilder/Platform/Windows.pm index eeaa58c..73d53ae 100644 --- a/lib/ExtUtils/CBuilder/Platform/Windows.pm +++ b/lib/ExtUtils/CBuilder/Platform/Windows.pm @@ -10,7 +10,7 @@ use ExtUtils::CBuilder::Base; use IO::File; use vars qw($VERSION @ISA); -$VERSION = '0.26'; +$VERSION = '0.2602'; @ISA = qw(ExtUtils::CBuilder::Base); sub new { diff --git a/lib/ExtUtils/CBuilder/Platform/aix.pm b/lib/ExtUtils/CBuilder/Platform/aix.pm index 73e5c6c..011ef81 100644 --- a/lib/ExtUtils/CBuilder/Platform/aix.pm +++ b/lib/ExtUtils/CBuilder/Platform/aix.pm @@ -5,7 +5,7 @@ use ExtUtils::CBuilder::Platform::Unix; use File::Spec; use vars qw($VERSION @ISA); -$VERSION = '0.26'; +$VERSION = '0.2602'; @ISA = qw(ExtUtils::CBuilder::Platform::Unix); sub need_prelink { 1 } diff --git a/lib/ExtUtils/CBuilder/Platform/cygwin.pm b/lib/ExtUtils/CBuilder/Platform/cygwin.pm index ccc05c9..7f996dc 100644 --- a/lib/ExtUtils/CBuilder/Platform/cygwin.pm +++ b/lib/ExtUtils/CBuilder/Platform/cygwin.pm @@ -5,7 +5,7 @@ use File::Spec; use ExtUtils::CBuilder::Platform::Unix; use vars qw($VERSION @ISA); -$VERSION = '0.26'; +$VERSION = '0.2602'; @ISA = qw(ExtUtils::CBuilder::Platform::Unix); sub link_executable { diff --git a/lib/ExtUtils/CBuilder/Platform/darwin.pm b/lib/ExtUtils/CBuilder/Platform/darwin.pm index 1d70568..45c03a8 100644 --- a/lib/ExtUtils/CBuilder/Platform/darwin.pm +++ b/lib/ExtUtils/CBuilder/Platform/darwin.pm @@ -4,7 +4,7 @@ use strict; use ExtUtils::CBuilder::Platform::Unix; use vars qw($VERSION @ISA); -$VERSION = '0.26'; +$VERSION = '0.2602'; @ISA = qw(ExtUtils::CBuilder::Platform::Unix); sub compile { diff --git a/lib/ExtUtils/CBuilder/Platform/dec_osf.pm b/lib/ExtUtils/CBuilder/Platform/dec_osf.pm index 624d805..65344f2 100644 --- a/lib/ExtUtils/CBuilder/Platform/dec_osf.pm +++ b/lib/ExtUtils/CBuilder/Platform/dec_osf.pm @@ -6,7 +6,7 @@ use File::Spec; use vars qw($VERSION @ISA); @ISA = qw(ExtUtils::CBuilder::Platform::Unix); -$VERSION = '0.26'; +$VERSION = '0.2602'; sub link_executable { my $self = shift; diff --git a/lib/ExtUtils/CBuilder/Platform/os2.pm b/lib/ExtUtils/CBuilder/Platform/os2.pm index bbe4dc4..1664890 100644 --- a/lib/ExtUtils/CBuilder/Platform/os2.pm +++ b/lib/ExtUtils/CBuilder/Platform/os2.pm @@ -4,7 +4,7 @@ use strict; use ExtUtils::CBuilder::Platform::Unix; use vars qw($VERSION @ISA); -$VERSION = '0.26'; +$VERSION = '0.2602'; @ISA = qw(ExtUtils::CBuilder::Platform::Unix); sub need_prelink { 1 } diff --git a/lib/ExtUtils/CBuilder/t/00-have-compiler.t b/lib/ExtUtils/CBuilder/t/00-have-compiler.t index 1ba22f8..cf62e97 100644 --- a/lib/ExtUtils/CBuilder/t/00-have-compiler.t +++ b/lib/ExtUtils/CBuilder/t/00-have-compiler.t @@ -1,6 +1,9 @@ #! perl -w +use File::Spec; +my $perl; BEGIN { + $perl = File::Spec->rel2abs($^X); if ($ENV{PERL_CORE}) { chdir 't' if -d 't'; chdir '../lib/ExtUtils/CBuilder' @@ -11,7 +14,6 @@ BEGIN { use strict; use Test::More; -use File::Spec; BEGIN { if ($^O eq 'VMS') { # So we can get the return value of system() @@ -34,8 +36,8 @@ is( $b->have_compiler, 0, "have_compiler: fake missing cc" ); # test found compiler $b->{have_compiler} = undef; -$b->{config}{cc} = "$^X -e1 --"; -$b->{config}{ld} = "$^X -e1 --"; +$b->{config}{cc} = "$perl -e1 --"; +$b->{config}{ld} = "$perl -e1 --"; is( $b->have_compiler, 1, "have_compiler: fake present cc" ); diff --git a/lib/ExtUtils/CBuilder/t/01-basic.t b/lib/ExtUtils/CBuilder/t/01-basic.t index 5f9ad87..79a0b0c 100644 --- a/lib/ExtUtils/CBuilder/t/01-basic.t +++ b/lib/ExtUtils/CBuilder/t/01-basic.t @@ -66,6 +66,11 @@ for ($source_file, $object_file, $lib_file) { 1 while unlink; } +if ($^O eq 'VMS') { + 1 while unlink 'COMPILET.LIS'; + 1 while unlink 'COMPILET.OPT'; +} + my @words = $b->split_like_shell(' foo bar'); SKIP: { diff --git a/lib/ExtUtils/CBuilder/t/02-link.t b/lib/ExtUtils/CBuilder/t/02-link.t index d2bacf7..c748d3b 100644 --- a/lib/ExtUtils/CBuilder/t/02-link.t +++ b/lib/ExtUtils/CBuilder/t/02-link.t @@ -85,6 +85,11 @@ for ($source_file, $object_file, $exe_file) { 1 while unlink; } +if ($^O eq 'VMS') { + 1 while unlink 'COMPILET.LIS'; + 1 while unlink 'COMPILET.OPT'; +} + sub my_system { my $cmd = shift; if ($^O eq 'VMS') { -- Perl5 Master Repository
