diff options
author | David Golden <dagolden@cpan.org> | 2009-07-04 11:23:22 -0400 |
---|---|---|
committer | H.Merijn Brand <h.m.brand@xs4all.nl> | 2009-07-04 17:50:01 +0200 |
commit | 9ef43512fc3a710257d7c80e6380e045ccf60f64 (patch) | |
tree | 615a3a7e448895b6d45af54cc2ad7e42ab2e4b47 /lib | |
parent | 0183efc54252e0b83726d100b2e8a3e5e04a3b35 (diff) | |
download | perl-9ef43512fc3a710257d7c80e6380e045ccf60f64.tar.gz |
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 <h.m.brand@xs4all.nl>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ExtUtils/CBuilder.pm | 2 | ||||
-rw-r--r-- | lib/ExtUtils/CBuilder/Base.pm | 2 | ||||
-rw-r--r-- | lib/ExtUtils/CBuilder/Platform/Unix.pm | 2 | ||||
-rw-r--r-- | lib/ExtUtils/CBuilder/Platform/VMS.pm | 2 | ||||
-rw-r--r-- | lib/ExtUtils/CBuilder/Platform/Windows.pm | 2 | ||||
-rw-r--r-- | lib/ExtUtils/CBuilder/Platform/aix.pm | 2 | ||||
-rw-r--r-- | lib/ExtUtils/CBuilder/Platform/cygwin.pm | 2 | ||||
-rw-r--r-- | lib/ExtUtils/CBuilder/Platform/darwin.pm | 2 | ||||
-rw-r--r-- | lib/ExtUtils/CBuilder/Platform/dec_osf.pm | 2 | ||||
-rw-r--r-- | lib/ExtUtils/CBuilder/Platform/os2.pm | 2 | ||||
-rw-r--r-- | lib/ExtUtils/CBuilder/t/00-have-compiler.t | 8 |
11 files changed, 15 insertions, 13 deletions
diff --git a/lib/ExtUtils/CBuilder.pm b/lib/ExtUtils/CBuilder.pm index b018547ae6..eb859ae409 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.2601'; +$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 baef15885c..1184953183 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.2601'; +$VERSION = '0.2602'; sub new { my $class = shift; diff --git a/lib/ExtUtils/CBuilder/Platform/Unix.pm b/lib/ExtUtils/CBuilder/Platform/Unix.pm index 8881d26710..8672e3ef88 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.2601'; +$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 9b5bb503d5..97434a3930 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.2601'; +$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 e219567c52..73d53ae874 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.2601'; +$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 c6de6a5d3b..011ef81140 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.2601'; +$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 41d3600760..7f996dc5be 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.2601'; +$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 e6b1be0ff2..45c03a8f58 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.2601'; +$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 1e0a5f58de..65344f2555 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.2601'; +$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 d6fc8f5487..16648901b2 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.2601'; +$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 1ba22f8fab..cf62e97f2f 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" ); |