Subject: | Bug in ExtUtils::MM_Any::manifypod_target() |
Date: | Tue, 17 Oct 2006 11:39:32 -0500 |
To: | bug-ExtUtils-MakeMaker [...] rt.cpan.org |
From: | Lanny Ripple <lanny [...] cisco.com> |
Release: ExtUtils-MM_Any-0.13_01
(Still exists in latest ExtUtils::MakeMaker version.)
ExtUtils::MM_Any::manifypod_target() gathers keys from MAN1PODS
and MAN3PODS. However it duplicates MAN3PODS. Rough code
example showing the pattern is:
for my $name ( keys %{ $self->{MAN1PODS }}, keys %{
$self->{MAN3PODS}} ) {
...
}
for my $name ( keys %{ $self->{MAN3PODS}} } ) {
...
}
Here's a diff of the solution I placed in my install.
***************
*** 648,654 ****
my $dependencies = '';
# populate manXpods & dependencies:
! foreach my $name (keys %{$self->{MAN1PODS}}, keys
%{$self->{MAN3PODS}}) {
$dependencies .= " \\\n\t$name";
}
--- 648,654 ----
my $dependencies = '';
# populate manXpods & dependencies:
! foreach my $name (keys %{$self->{MAN1PODS}}) {
$dependencies .= " \\\n\t$name";
}
--- cut ---
-ljr
--
Lanny Ripple <lanny@cisco.com>
ScmDB / Cisco Systems, Inc.