From: Steve Peters Date: Thu, 22 Feb 2007 14:36:27 +0000 (+0000) Subject: Upgrade to ExtUtils-MakeMaker-6.32. Included a version X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=1e65eb70bcb514e61cdd8408bdbe4e5a20b7fd95;p=p5sagit%2Fp5-mst-13.2.git Upgrade to ExtUtils-MakeMaker-6.32. Included a version bump to ExtUtils::MakeMaker to 6.32_01 because changes #29266, #29583, #29580, #29581 and #29583 were missing from the new release. p4raw-id: //depot/perl@30380 --- diff --git a/lib/ExtUtils/Command/MM.pm b/lib/ExtUtils/Command/MM.pm index 6ca97b9..9bd3eb8 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 = '0.06'; +$VERSION = '0.07'; my $Is_VMS = $^O eq 'VMS'; diff --git a/lib/ExtUtils/Liblist.pm b/lib/ExtUtils/Liblist.pm index 63df44e..3596621 100644 --- a/lib/ExtUtils/Liblist.pm +++ b/lib/ExtUtils/Liblist.pm @@ -1,7 +1,9 @@ package ExtUtils::Liblist; -use vars qw($VERSION); -$VERSION = '1.02'; +use strict; + +use vars qw($VERSION @ISA); +$VERSION = '1.03'; use File::Spec; require ExtUtils::Liblist::Kid; diff --git a/lib/ExtUtils/Liblist/Kid.pm b/lib/ExtUtils/Liblist/Kid.pm index 75d0ba5..2f8e527 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 = 1.31; +$VERSION = 1.32; use Config; use Cwd 'cwd'; diff --git a/lib/ExtUtils/MM.pm b/lib/ExtUtils/MM.pm index 6fa2354..2c6af6b 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 = '0.06'; +$VERSION = '0.07'; require ExtUtils::Liblist; require ExtUtils::MakeMaker; diff --git a/lib/ExtUtils/MM_AIX.pm b/lib/ExtUtils/MM_AIX.pm index a54d90e..7bdaf7a 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 = '0.04'; +$VERSION = '0.05'; require ExtUtils::MM_Unix; @ISA = qw(ExtUtils::MM_Unix); diff --git a/lib/ExtUtils/MM_Any.pm b/lib/ExtUtils/MM_Any.pm index 6851224..48cec18 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 = '0.14'; +$VERSION = '0.15'; use Carp; use File::Spec; @@ -676,10 +676,6 @@ sub manifypods_target { $dependencies .= " \\\n\t$name"; } - foreach my $name (keys %{$self->{MAN3PODS}}) { - $dependencies .= " \\\n\t$name" - } - my $manify = <new(\%att); @@ -1126,7 +1127,8 @@ else calls "prefix" than PREFIX is. To have everything installed in your home directory, do the following. - perl Makefile.PL INSTALL_BASE=~ + # Unix users, INSTALL_BASE=~ works fine + perl Makefile.PL INSTALL_BASE=/path/to/your/home/dir Like PREFIX, it sets several INSTALL* attributes at once. Unlike PREFIX it is easy to predict where the module will end up. The @@ -1152,7 +1154,8 @@ INSTALL_BASE was added in 6.31. PREFIX and LIB can be used to set several INSTALL* attributes in one go. Here's an example for installing into your home directory. - perl Makefile.PL PREFIX=~ + # Unix users, PREFIX=~ works fine + perl Makefile.PL PREFIX=/path/to/your/home/dir This will install all files in the module under your home directory, with man pages and libraries going into an appropriate place (usually @@ -2162,7 +2165,7 @@ MakeMaker object. The following lines will be parsed o.k.: $VERSION = '1.00'; *VERSION = \'1.01'; - $VERSION = (q$Revision: 19606 $) =~ /(\d+)/g; + $VERSION = (q$Revision: 27436 $) =~ /(\d+)/g; $FOO::VERSION = '1.10'; *FOO::VERSION = \'1.11'; our $VERSION = 1.2.3; # new for perl5.6.0 @@ -2504,7 +2507,8 @@ to create the Module, but this is a normal state of things, then you can create a F which does nothing, but succeeds on all the "usual" build targets. To do so, use - ExtUtils::MakeMaker::WriteEmptyMakefile(); + use ExtUtils::MakeMaker qw(WriteEmptyMakefile); + WriteEmptyMakefile(); instead of WriteMakefile(). diff --git a/lib/ExtUtils/MakeMaker/Config.pm b/lib/ExtUtils/MakeMaker/Config.pm index e891298..efb1c3a 100644 --- a/lib/ExtUtils/MakeMaker/Config.pm +++ b/lib/ExtUtils/MakeMaker/Config.pm @@ -1,6 +1,6 @@ package ExtUtils::MakeMaker::Config; -$VERSION = '0.03'; +$VERSION = '0.04'; use strict; use Config (); diff --git a/lib/ExtUtils/MakeMaker/FAQ.pod b/lib/ExtUtils/MakeMaker/FAQ.pod index 09583d0..16d9f29 100644 --- a/lib/ExtUtils/MakeMaker/FAQ.pod +++ b/lib/ExtUtils/MakeMaker/FAQ.pod @@ -25,6 +25,7 @@ If you're not the Perl administrator you probably don't have permission to install a module to its default location. Then you should install it for your own use into your home directory like so: + # Non-unix folks, replace ~ with /path/to/your/home/dir perl Makefile.PL INSTALL_BASE=~ This will put modules into F<~/lib/perl5>, man pages into F<~/man> and @@ -36,6 +37,11 @@ each of your programs to look in that directory with the following: use lib "$ENV{HOME}/lib/perl5"; +or if $ENV{HOME} isn't set and you don't want to set it for some +reason, do it the long way. + + use lib "/path/to/your/home/dir/lib/perl5"; + =item How do I get MakeMaker and Module::Build to install to the same place? diff --git a/lib/ExtUtils/MakeMaker/bytes.pm b/lib/ExtUtils/MakeMaker/bytes.pm index bad9b62..1cebaa5 100644 --- a/lib/ExtUtils/MakeMaker/bytes.pm +++ b/lib/ExtUtils/MakeMaker/bytes.pm @@ -1,7 +1,9 @@ package ExtUtils::MakeMaker::bytes; +use strict; + use vars qw($VERSION); -$VERSION = 0.02; +$VERSION = 0.03; my $Have_Bytes = eval q{require bytes; 1;}; diff --git a/lib/ExtUtils/MakeMaker/vmsish.pm b/lib/ExtUtils/MakeMaker/vmsish.pm index 7652e1e..44ca192 100644 --- a/lib/ExtUtils/MakeMaker/vmsish.pm +++ b/lib/ExtUtils/MakeMaker/vmsish.pm @@ -1,7 +1,9 @@ package ExtUtils::MakeMaker::vmsish; +use strict; + use vars qw($VERSION); -$VERSION = 0.02; +$VERSION = 0.03; my $IsVMS = $^O eq 'VMS'; diff --git a/lib/ExtUtils/Mkbootstrap.pm b/lib/ExtUtils/Mkbootstrap.pm index 60896d6..09b5bd6 100644 --- a/lib/ExtUtils/Mkbootstrap.pm +++ b/lib/ExtUtils/Mkbootstrap.pm @@ -1,11 +1,19 @@ package ExtUtils::Mkbootstrap; -$VERSION = '1.16'; +# There's just too much Dynaloader incest here to turn on strict vars. +use strict 'refs'; + +use vars qw($VERSION @ISA @EXPORT); +$VERSION = '1.17'; + +require Exporter; +@ISA = ('Exporter'); +@EXPORT = ('&Mkbootstrap'); use Config; -use Exporter; -@ISA=('Exporter'); -@EXPORT='&Mkbootstrap'; + +use vars qw($Verbose); + sub Mkbootstrap { my($baseext, @bsloadlibs)=@_; diff --git a/lib/ExtUtils/Mksymlists.pm b/lib/ExtUtils/Mksymlists.pm index 04b017a..fe28b9f 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 = '1.2'; +$VERSION = '1.21'; sub Mksymlists { my(%spec) = @_; diff --git a/lib/ExtUtils/t/build_man.t b/lib/ExtUtils/t/build_man.t index 1b92829..103f4c7 100644 --- a/lib/ExtUtils/t/build_man.t +++ b/lib/ExtUtils/t/build_man.t @@ -15,11 +15,17 @@ BEGIN { use strict; use Test::More tests => 9; +use File::Spec; use TieOut; use MakeMaker::Test::Utils; use MakeMaker::Test::Setup::BFD; use ExtUtils::MakeMaker; +use ExtUtils::MakeMaker::Config; + +# Simulate an installation which has man page generation turned off to +# ensure these tests will still work. +$Config{installman3dir} = 'none'; chdir 't'; @@ -51,6 +57,8 @@ SKIP: { } { + local $Config{installman3dir} = File::Spec->catdir(qw(t lib)); + my $mm = WriteMakefile( NAME => 'Big::Dummy', VERSION_FROM => 'lib/Big/Dummy.pm', diff --git a/lib/ExtUtils/testlib.pm b/lib/ExtUtils/testlib.pm index fffaed1..976ad54 100644 --- a/lib/ExtUtils/testlib.pm +++ b/lib/ExtUtils/testlib.pm @@ -1,5 +1,9 @@ package ExtUtils::testlib; -$VERSION = 1.16; + +use strict; + +use vars qw($VERSION); +$VERSION = 1.17; use Cwd; use File::Spec;