develooper Front page | perl.perl5.porters | Postings from March 2006

Fix MAN3PODS handling in MakeMaker

Thread Previous
From:
Rafael Garcia-Suarez
Date:
March 23, 2006 14:17
Subject:
Fix MAN3PODS handling in MakeMaker
Message ID:
b77c1dce0603231417n161f981g5c849e1dc3941f2b@mail.gmail.com
I found the patch below to be necessary after merging the CPAN release
of EU::MM 6.30_01 into bleadperl. (I believe I've merged everything
now.) Without it, compilation stopped at the first XS module
(DynaLoader).

Change 27592 by rgs@marais on 2006/03/23 22:13:13

        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.

Affected files ...

... //depot/perl/lib/ExtUtils/MM_Unix.pm#211 edit

Differences ...

==== //depot/perl/lib/ExtUtils/MM_Unix.pm#211 (text) ====

@@ -19,7 +19,7 @@
 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 @@
            $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};

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About