Skip Menu |

This queue is for tickets about the Module-Build-Prereq CPAN distribution.

Report information
The Basics
Id: 88813
Status: resolved
Priority: 0/
Queue: Module-Build-Prereq

People
Owner: Nobody in particular
Requestors: dolmen [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.01
Fixed in: 0.02



Subject: doc should say to add Module::Build::Prereq in CONFIGURE_REQUIRES
The documentation says this: use Module::Build::Prereq; WriteMakefile(...); This means that Module::Build::Prereq must be installed when the user of the distribution will run Makefile.PL. To tell this to the CPAN client (or any other tool that will read META.yml/json before running Makefile.PL), the documentation should tell that Module::Build::Prereq is a CONFIGURE_REQUIRE: use ExtUtils::MakeMaker; use Module::Build::Prereq; WriteMakefile( ... CONFIGURE_REQUIRES => { 'Module::Build::Prereq' => '0.01', }, ); -- Olivier Mengué - http://perlresume.org/DOLMEN