diff options
author | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2006-03-23 22:13:13 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2006-03-23 22:13:13 +0000 |
commit | 97998846c872d4a3ce247054f72e1859a6939126 (patch) | |
tree | fbba068750c44d7a3b0b667f211f6b4c8e947092 | |
parent | eed083fb3b720efe3525f1bff773789b22d647b0 (diff) | |
download | perl-97998846c872d4a3ce247054f72e1859a6939126.tar.gz |
When MAN3PODS is forced to {} in a Makefile.PL, manpages should not be
built from pods. This change fixes bleadperl compilation -- trying to
build manpages with miniperl causes a bootstrapping problem.
p4raw-id: //depot/perl@27592
-rw-r--r-- | lib/ExtUtils/MM_Unix.pm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/ExtUtils/MM_Unix.pm b/lib/ExtUtils/MM_Unix.pm index 1b4822b475..5672c92448 100644 --- a/lib/ExtUtils/MM_Unix.pm +++ b/lib/ExtUtils/MM_Unix.pm @@ -19,7 +19,7 @@ use vars qw($VERSION @ISA use ExtUtils::MakeMaker qw($Verbose neatvalue); # $VERSION needs to stay numeric to avoid test warnings -$VERSION = '1.5002'; +$VERSION = '1.5003'; require ExtUtils::MM_Any; @ISA = qw(ExtUtils::MM_Any); @@ -1312,6 +1312,8 @@ sub init_MANPODS { $self->{"BUILD${man}PODS"} = 0 if $self->{"INSTALL${man}DIR"} =~ /^(none|\s*)$/; } + $self->{"BUILD${man}PODS"} = 0 if + scalar(keys %{$self->{"${man}PODS"}}) == 0; } $self->init_MAN1PODS() if $self->{BUILDMAN1PODS}; |