From: Vincent Pit Date: Thu, 11 Dec 2008 08:06:02 +0000 (+0100) Subject: Really relink through gentooisms X-Git-Tag: v0.05~24 X-Git-Url: http://git.vpit.fr/?a=commitdiff_plain;h=7a7b90f4e7e9870facf31b5945ca5406780c0c02;p=perl%2Fmodules%2FCPANPLUS-Dist-Gentoo.git Really relink through gentooisms --- diff --git a/lib/CPANPLUS/Dist/Gentoo.pm b/lib/CPANPLUS/Dist/Gentoo.pm index 25adfd3..62b2e23 100644 --- a/lib/CPANPLUS/Dist/Gentoo.pm +++ b/lib/CPANPLUS/Dist/Gentoo.pm @@ -210,7 +210,6 @@ 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)/; @@ -276,6 +275,7 @@ sub create { 'dev-lang/perl', map { my $a = $_->[0]->package_name; + $a = $gentooism{$a} || $a; my $x = ''; if (defined $_->[1]) { $x = '>=';