Subject: | Document BUILD_REQUIRES, PREREQ_PM |
6.04's Makefile.PL does not enumerate its dependencies in Makefile.PL, making packaging more difficult for the system integrator, who cannot simply (and automatically) inspect the "make dist"d META.yml to figure out what is needed.
Patch:
diff -up File-Listing-6.04/Makefile.PL.orig File-Listing-6.04/Makefile.PL
--- File-Listing-6.04/Makefile.PL.orig 2012-02-15 15:32:26.000000000 -0600
+++ File-Listing-6.04/Makefile.PL 2013-05-03 16:50:20.937047453 -0500
@@ -11,8 +11,15 @@ WriteMakefile(
LICENSE => "perl",
MIN_PERL_VERSION => 5.006002,
PREREQ_PM => {
+ 'Carp' => 0,
'HTTP::Date' => 6,
},
+ ( eval { ExtUtils::MakeMaker->VERSION(6.5501) } ? (
+ BUILD_REQUIRES => { 'ExtUtils::MakeMaker' => 0,
+ 'Test::More' => 0 },
+ )
+ : ()
+ ),
META_MERGE => {
resources => {
repository => 'http://github.com/gisle/libwww-perl/tree/File-Listing/master',