Skip to content

Commit

Permalink
adding module::build prereq when using it
Browse files Browse the repository at this point in the history
  • Loading branch information
jquelin committed Jul 1, 2009
1 parent 0964a1b commit 5d86a77
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/CPANPLUS/Dist/Mdv.pm
Expand Up @@ -136,8 +136,9 @@ sub prepare {
$distbuild = "%{__perl} Makefile.PL INSTALLDIRS=vendor\n";
$distmaker = "%{make}";
$distinstall = "%makeinstall_std";
}
else {
} else {
# module::build only distribution
push @reqs, 'Module::Build';
$distbuild = "%{__perl} Build.PL installdirs=vendor\n";
$distmaker = "./Build";
$distinstall = "./Build install destdir=%{buildroot}";
Expand Down

0 comments on commit 5d86a77

Please sign in to comment.