From 6fb12b7054efc6b436584db6cef9c2f85c0d7e27 Mon Sep 17 00:00:00 2001 From: afresh1 Date: Mon, 17 Nov 2014 20:52:31 +0000 Subject: Import perl-5.20.1 --- gnu/usr.bin/perl/cpan/Module-Build/lib/Module/Build.pm | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) (limited to 'gnu/usr.bin/perl/cpan/Module-Build/lib/Module/Build.pm') diff --git a/gnu/usr.bin/perl/cpan/Module-Build/lib/Module/Build.pm b/gnu/usr.bin/perl/cpan/Module-Build/lib/Module/Build.pm index fd835fc0659..aee7b44c1f5 100644 --- a/gnu/usr.bin/perl/cpan/Module-Build/lib/Module/Build.pm +++ b/gnu/usr.bin/perl/cpan/Module-Build/lib/Module/Build.pm @@ -1,5 +1,7 @@ package Module::Build; +use if $] >= 5.019, 'deprecate'; + # This module doesn't do much of anything itself, it inherits from the # modules that do the real work. The only real thing it has to do is # figure out which OS-specific module to pull in. Many of the @@ -16,10 +18,9 @@ use Module::Build::Base; use vars qw($VERSION @ISA); @ISA = qw(Module::Build::Base); -$VERSION = '0.4003'; +$VERSION = '0.4205'; $VERSION = eval $VERSION; - # Inserts the given module into the @ISA hierarchy between # Module::Build and its immediate parent sub _interpose_module { @@ -94,10 +95,7 @@ C. Developers may alter the behavior of the module through subclassing in a much more straightforward way than with C. It also does not require a C on your system - most of the C code is pure-perl and written in a very -cross-platform way. In fact, you don't even need a shell, so even -platforms like MacOS (traditional) can use it fairly easily. Its only -prerequisites are modules that are included with perl 5.6.0, and it -works fine on perl 5.005 if you can install a few additional modules. +cross-platform way. See L<"MOTIVATIONS"> for more comparisons between C and C. @@ -379,6 +377,12 @@ C. You can also supply or override install paths on the command line by specifying C values for the C and/or C installation targets. +With an optional C argument set to a false value, you can +skip the search for other documentation to link to, because that can +waste a lot of time if there aren't any links to generate anyway: + + ./Build html --html_links 0 + =item install [version 0.01] @@ -747,7 +751,7 @@ executed build actions. When Module::Build starts up, it will look first for a file, F<$ENV{HOME}/.modulebuildrc>. If it's not found there, it will look -in the the F<.modulebuildrc> file in the directories referred to by +in the F<.modulebuildrc> file in the directories referred to by the environment variables C + C, C, C, C, C. If the file exists, the options specified there will be used as defaults, as if they were typed on the -- cgit v1.2.3-59-g8ed1b