Subject: | Installers should prefer Build.PL when both are available |
Date: | Thu, 10 Jan 2008 03:05:26 -0800 |
To: | bug-CPANPLUS [...] rt.cpan.org |
From: | Michael G Schwern <schwern [...] pobox.com> |
Since emulation will never be 100% and Module::Build's compatibility
Makefile.PLs are a temporary measure to help installers which do not yet
handle Module::Build, we recommend that all module installers prefer to use
the Build.PL when both are available.
The patch is simple enough, but I suspect that seemless Module::Build
installation will have to be done (31279) before this is really viable.
--- lib/CPANPLUS/Config.pm (revision 41142)
+++ lib/CPANPLUS/Config.pm (local)
@@ -309,11 +309,11 @@
=item prefer_makefile
A boolean indicating whether or not prefer a C<Makefile.PL> over a
-C<Build.PL> file if both are present. Defaults to 'true'.
+C<Build.PL> file if both are present. Defaults to 'false'.
=cut
- $Conf->{'conf'}->{'prefer_makefile'} = 1;
+ $Conf->{'conf'}->{'prefer_makefile'} = 0;
=item prereqs