From: Vincent Pit Date: Sat, 29 Nov 2008 11:12:23 +0000 (+0100) Subject: Skip 'perl' dependencies X-Git-Tag: v0.03~15 X-Git-Url: http://git.vpit.fr/?a=commitdiff_plain;h=30ddec14603e1a68dcd144424cbfe04aa14fab5d;p=perl%2Fmodules%2FCPANPLUS-Dist-Gentoo.git Skip 'perl' dependencies --- diff --git a/lib/CPANPLUS/Dist/Gentoo.pm b/lib/CPANPLUS/Dist/Gentoo.pm index 870d6d8..f681819 100644 --- a/lib/CPANPLUS/Dist/Gentoo.pm +++ b/lib/CPANPLUS/Dist/Gentoo.pm @@ -149,6 +149,7 @@ sub prepare { my $prereqs = $mod->status->prereqs; my @depends; for my $prereq (sort keys %$prereqs) { + next if $prereq =~ /^perl(?:-|\z)/; my $obj = $int->module_tree($prereq); unless ($obj) { error 'Wrong module object -- aborting';