Skip to content

Commit

Permalink
Merge #204
Browse files Browse the repository at this point in the history
  • Loading branch information
miyagawa committed Feb 27, 2013
2 parents dc78f67 + 47a3476 commit 7ec4d04
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion lib/App/cpanminus/script.pm
Expand Up @@ -1688,7 +1688,12 @@ sub build_stuff {

$dist->{meta} ||= {};

push @config_deps, %{$dist->{meta}{configure_requires} || {}};
if ( $dist->{meta}->{prereqs} ) {
push @config_deps, %{$dist->{meta}{prereqs}{configure}{requires} || {}};
}
else {
push @config_deps, %{$dist->{meta}{configure_requires} || {}};
}

my $target = $dist->{meta}{name} ? "$dist->{meta}{name}-$dist->{meta}{version}" : $dist->{dir};

Expand Down

0 comments on commit 7ec4d04

Please sign in to comment.