Skip to content

Commit

Permalink
Merge pull request #5 from Leont/master
Browse files Browse the repository at this point in the history
Fix build arguments for Build.PL spec conformance
  • Loading branch information
silug committed Oct 24, 2014
2 parents 1d69542 + ce89117 commit 533d40d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cpanspec
Original file line number Diff line number Diff line change
Expand Up @@ -1214,7 +1214,7 @@ END

if ($usebuildpl) {
print $spec <<END;
\%{__perl} Build.PL installdirs=vendor@{[$noarch ? '' : qq{ optimize="$macro{optimize}"} ]}
\%{__perl} Build.PL --installdirs=vendor@{[$noarch ? '' : qq{ --optimize="$macro{optimize}"} ]}
./Build
END
} else {
Expand All @@ -1240,7 +1240,7 @@ END

if ($usebuildpl) {
print $spec
"./Build install destdir=$macro{buildroot} create_packlist=0\n";
"./Build install --destdir=$macro{buildroot} --create_packlist=0\n";
} else {
print $spec <<END;
make pure_install PERL_INSTALL_ROOT=$macro{buildroot}
Expand Down

0 comments on commit 533d40d

Please sign in to comment.