Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

bump version to 0.3601 and disarm mismatched version checks

git-svn-id: http://svn.perl.org/modules/Module-Build/trunk@13699 50811bd7-b8ce-0310-adc1-d9db26280581
  • Loading branch information...
commit 36d27dfcd8a546c05f9c51a2ed621c7fa12fe64c 1 parent 17fe0fd
@dagolden dagolden authored
Showing with 44 additions and 32 deletions.
  1. +9 −1 Changes
  2. +3 −2 lib/Module/Build.pm
  3. +8 −5 lib/Module/Build/Base.pm
  4. +1 −1  lib/Module/Build/Compat.pm
  5. +1 −1  lib/Module/Build/Config.pm
  6. +1 −1  lib/Module/Build/Cookbook.pm
  7. +1 −1  lib/Module/Build/Dumper.pm
  8. +1 −1  lib/Module/Build/ModuleInfo.pm
  9. +1 −1  lib/Module/Build/Notes.pm
  10. +1 −1  lib/Module/Build/PPMMaker.pm
  11. +1 −1  lib/Module/Build/Platform/Amiga.pm
  12. +1 −1  lib/Module/Build/Platform/Default.pm
  13. +1 −1  lib/Module/Build/Platform/EBCDIC.pm
  14. +1 −1  lib/Module/Build/Platform/MPEiX.pm
  15. +1 −1  lib/Module/Build/Platform/MacOS.pm
  16. +1 −1  lib/Module/Build/Platform/RiscOS.pm
  17. +1 −1  lib/Module/Build/Platform/Unix.pm
  18. +1 −1  lib/Module/Build/Platform/VMS.pm
  19. +1 −1  lib/Module/Build/Platform/VOS.pm
  20. +1 −1  lib/Module/Build/Platform/Windows.pm
  21. +1 −1  lib/Module/Build/Platform/aix.pm
  22. +1 −1  lib/Module/Build/Platform/cygwin.pm
  23. +1 −1  lib/Module/Build/Platform/darwin.pm
  24. +1 −1  lib/Module/Build/Platform/os2.pm
  25. +1 −1  lib/Module/Build/PodParser.pm
  26. +1 −1  lib/inc/latest.pm
  27. +1 −1  lib/inc/latest/private.pm
View
10 Changes
@@ -1,6 +1,14 @@
Revision history for Perl extension Module::Build.
-0.36_01 -
+0.3601 - Mon Dec 21 14:39:33 EST 2009
+
+ Bug fixes:
+
+ - When the currently running Module::Build is not the same as the one
+ that created the Build file, there is now a warning rather than a fatal
+ error. This helps installation of dependency chains where a dependency
+ might configure_requires a new Module::Build after Build.PL was already
+ run for an earlier distribution. [David Golden, on advice of Matt Trout]
0.36 - Sun Dec 20 15:02:38 EST 2009
View
5 lib/Module/Build.pm
@@ -15,7 +15,7 @@ use Module::Build::Base;
use vars qw($VERSION @ISA);
@ISA = qw(Module::Build::Base);
-$VERSION = '0.36_01';
+$VERSION = '0.3601';
$VERSION = eval $VERSION;
# Okay, this is the brute-force method of finding out what kind of
@@ -750,7 +750,8 @@ false to prevent the custom resource file from being loaded.
Suppresses the check upon startup that the version of Module::Build
we're now running under is the same version that was initially invoked
when building the distribution (i.e. when the C<Build.PL> script was
-first run). Use with caution.
+first run). As of 0.3601, a mismatch results in a warning instead of
+a fatal error, so this option effectively just suppresses the warning.
=item debug
View
13 lib/Module/Build/Base.pm
@@ -4,7 +4,7 @@ package Module::Build::Base;
use strict;
use vars qw($VERSION);
-$VERSION = '0.36_01';
+$VERSION = '0.3601';
$VERSION = eval $VERSION;
BEGIN { require 5.00503 }
@@ -103,10 +103,13 @@ sub resume {
unless ($self->allow_mb_mismatch) {
my $mb_version = $Module::Build::VERSION;
- die(" * ERROR: Configuration was initially created with Module::Build version '$self->{properties}{mb_version}',\n".
- " but we are now using version '$mb_version'. Please re-run the Build.PL or Makefile.PL script,\n".
- " or use --allow_mb_mismatch 1 to skip this version check.\n")
- if $mb_version ne $self->{properties}{mb_version};
+ if ( $mb_version ne $self->{properties}{mb_version} ) {
+ $self->log_warn(<<"MISMATCH");
+* WARNING: Configuration was initially created with Module::Build
+ version '$self->{properties}{mb_version}' but we are now using version '$mb_version'.
+ If errors occur, you must re-run the Build.PL or Makefile.PL script.
+MISMATCH
+ }
}
$self->{invoked_action} = $self->{action} ||= 'build';
View
2  lib/Module/Build/Compat.pm
@@ -2,7 +2,7 @@ package Module::Build::Compat;
use strict;
use vars qw($VERSION);
-$VERSION = '0.36_01';
+$VERSION = '0.3601';
use File::Basename ();
use File::Spec;
View
2  lib/Module/Build/Config.pm
@@ -2,7 +2,7 @@ package Module::Build::Config;
use strict;
use vars qw($VERSION);
-$VERSION = '0.36_01';
+$VERSION = '0.3601';
$VERSION = eval $VERSION;
use Config;
View
2  lib/Module/Build/Cookbook.pm
@@ -1,7 +1,7 @@
package Module::Build::Cookbook;
use strict;
use vars qw($VERSION);
-$VERSION = '0.36_01';
+$VERSION = '0.3601';
=head1 NAME
View
2  lib/Module/Build/Dumper.pm
@@ -1,7 +1,7 @@
package Module::Build::Dumper;
use strict;
use vars qw($VERSION);
-$VERSION = '0.36_01';
+$VERSION = '0.3601';
# This is just a split-out of a wrapper function to do Data::Dumper
# stuff "the right way". See:
View
2  lib/Module/Build/ModuleInfo.pm
@@ -8,7 +8,7 @@ package Module::Build::ModuleInfo;
use strict;
use vars qw($VERSION);
-$VERSION = '0.36_01';
+$VERSION = '0.3601';
$VERSION = eval $VERSION;
use File::Spec;
View
2  lib/Module/Build/Notes.pm
@@ -4,7 +4,7 @@ package Module::Build::Notes;
use strict;
use vars qw($VERSION);
-$VERSION = '0.36_01';
+$VERSION = '0.3601';
$VERSION = eval $VERSION;
use Data::Dumper;
use IO::File;
View
2  lib/Module/Build/PPMMaker.pm
@@ -5,7 +5,7 @@ use Config;
use vars qw($VERSION);
use IO::File;
-$VERSION = '0.36_01';
+$VERSION = '0.3601';
$VERSION = eval $VERSION;
# This code is mostly borrowed from ExtUtils::MM_Unix 6.10_03, with a
View
2  lib/Module/Build/Platform/Amiga.pm
@@ -2,7 +2,7 @@ package Module::Build::Platform::Amiga;
use strict;
use vars qw($VERSION);
-$VERSION = '0.36_01';
+$VERSION = '0.3601';
$VERSION = eval $VERSION;
use Module::Build::Base;
View
2  lib/Module/Build/Platform/Default.pm
@@ -2,7 +2,7 @@ package Module::Build::Platform::Default;
use strict;
use vars qw($VERSION);
-$VERSION = '0.36_01';
+$VERSION = '0.3601';
$VERSION = eval $VERSION;
use Module::Build::Base;
View
2  lib/Module/Build/Platform/EBCDIC.pm
@@ -2,7 +2,7 @@ package Module::Build::Platform::EBCDIC;
use strict;
use vars qw($VERSION);
-$VERSION = '0.36_01';
+$VERSION = '0.3601';
$VERSION = eval $VERSION;
use Module::Build::Base;
View
2  lib/Module/Build/Platform/MPEiX.pm
@@ -2,7 +2,7 @@ package Module::Build::Platform::MPEiX;
use strict;
use vars qw($VERSION);
-$VERSION = '0.36_01';
+$VERSION = '0.3601';
$VERSION = eval $VERSION;
use Module::Build::Base;
View
2  lib/Module/Build/Platform/MacOS.pm
@@ -2,7 +2,7 @@ package Module::Build::Platform::MacOS;
use strict;
use vars qw($VERSION);
-$VERSION = '0.36_01';
+$VERSION = '0.3601';
$VERSION = eval $VERSION;
use Module::Build::Base;
use vars qw(@ISA);
View
2  lib/Module/Build/Platform/RiscOS.pm
@@ -2,7 +2,7 @@ package Module::Build::Platform::RiscOS;
use strict;
use vars qw($VERSION);
-$VERSION = '0.36_01';
+$VERSION = '0.3601';
$VERSION = eval $VERSION;
use Module::Build::Base;
View
2  lib/Module/Build/Platform/Unix.pm
@@ -2,7 +2,7 @@ package Module::Build::Platform::Unix;
use strict;
use vars qw($VERSION);
-$VERSION = '0.36_01';
+$VERSION = '0.3601';
$VERSION = eval $VERSION;
use Module::Build::Base;
View
2  lib/Module/Build/Platform/VMS.pm
@@ -2,7 +2,7 @@ package Module::Build::Platform::VMS;
use strict;
use vars qw($VERSION);
-$VERSION = '0.36_01';
+$VERSION = '0.3601';
$VERSION = eval $VERSION;
use Module::Build::Base;
use Config;
View
2  lib/Module/Build/Platform/VOS.pm
@@ -2,7 +2,7 @@ package Module::Build::Platform::VOS;
use strict;
use vars qw($VERSION);
-$VERSION = '0.36_01';
+$VERSION = '0.3601';
$VERSION = eval $VERSION;
use Module::Build::Base;
View
2  lib/Module/Build/Platform/Windows.pm
@@ -2,7 +2,7 @@ package Module::Build::Platform::Windows;
use strict;
use vars qw($VERSION);
-$VERSION = '0.36_01';
+$VERSION = '0.3601';
$VERSION = eval $VERSION;
use Config;
View
2  lib/Module/Build/Platform/aix.pm
@@ -2,7 +2,7 @@ package Module::Build::Platform::aix;
use strict;
use vars qw($VERSION);
-$VERSION = '0.36_01';
+$VERSION = '0.3601';
$VERSION = eval $VERSION;
use Module::Build::Platform::Unix;
View
2  lib/Module/Build/Platform/cygwin.pm
@@ -2,7 +2,7 @@ package Module::Build::Platform::cygwin;
use strict;
use vars qw($VERSION);
-$VERSION = '0.36_01';
+$VERSION = '0.3601';
$VERSION = eval $VERSION;
use Module::Build::Platform::Unix;
View
2  lib/Module/Build/Platform/darwin.pm
@@ -2,7 +2,7 @@ package Module::Build::Platform::darwin;
use strict;
use vars qw($VERSION);
-$VERSION = '0.36_01';
+$VERSION = '0.3601';
$VERSION = eval $VERSION;
use Module::Build::Platform::Unix;
View
2  lib/Module/Build/Platform/os2.pm
@@ -2,7 +2,7 @@ package Module::Build::Platform::os2;
use strict;
use vars qw($VERSION);
-$VERSION = '0.36_01';
+$VERSION = '0.3601';
$VERSION = eval $VERSION;
use Module::Build::Platform::Unix;
View
2  lib/Module/Build/PodParser.pm
@@ -2,7 +2,7 @@ package Module::Build::PodParser;
use strict;
use vars qw($VERSION);
-$VERSION = '0.36_01';
+$VERSION = '0.3601';
$VERSION = eval $VERSION;
use vars qw(@ISA);
View
2  lib/inc/latest.pm
@@ -1,7 +1,7 @@
package inc::latest;
use strict;
use vars qw($VERSION);
-$VERSION = '0.36_01';
+$VERSION = '0.3601';
$VERSION = eval $VERSION;
use Carp;
View
2  lib/inc/latest/private.pm
@@ -1,7 +1,7 @@
package inc::latest::private;
use strict;
use vars qw($VERSION);
-$VERSION = '0.36_01';
+$VERSION = '0.3601';
$VERSION = eval $VERSION;
use File::Spec;
Please sign in to comment.
Something went wrong with that request. Please try again.