From: Rafael Garcia-Suarez Date: Thu, 23 Mar 2006 22:13:13 +0000 (+0000) Subject: When MAN3PODS is forced to {} in a Makefile.PL, manpages should not be X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=97998846c872d4a3ce247054f72e1859a6939126;p=p5sagit%2Fp5-mst-13.2.git 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 --- diff --git a/lib/ExtUtils/MM_Unix.pm b/lib/ExtUtils/MM_Unix.pm index 1b4822b..5672c92 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};