From: Vincent Pit Date: Sat, 29 Nov 2008 12:07:46 +0000 (+0100) Subject: Relink prerequisites with gentooisms X-Git-Tag: v0.03~12 X-Git-Url: http://git.vpit.fr/?a=commitdiff_plain;h=ab555439f607d3b694d56458b5aac851c544a993;p=perl%2Fmodules%2FCPANPLUS-Dist-Gentoo.git Relink prerequisites with gentooisms --- diff --git a/lib/CPANPLUS/Dist/Gentoo.pm b/lib/CPANPLUS/Dist/Gentoo.pm index ad0976d..962d60f 100644 --- a/lib/CPANPLUS/Dist/Gentoo.pm +++ b/lib/CPANPLUS/Dist/Gentoo.pm @@ -147,6 +147,7 @@ sub prepare { $stat->license([ qw/Artistic GPL-2/ ]); my $prereqs = $mod->status->prereqs; + $prereqs = { map { ($gentooism{$_} || $_) => $prereqs->{$_} } keys %$prereqs }; my @depends; for my $prereq (sort keys %$prereqs) { next if $prereq =~ /^perl(?:-|\z)/;