cpanpm
cpanpm copied to clipboard
Consider Module::Build as undeclared prerequisite only if there are no configure phase prereqs declared
This brings it in line with cpanm's heuristic: https://metacpan.org/source/MIYAGAWA/Menlo-Legacy-1.9022/lib/Menlo/CLI/Compat.pm#L1971
The presence of a Build.PL by itself does not indicate that Module::Build is required (in particular, there are now many Module::Build::Tiny based Build.PLs), and a configure prereq will be added for any other Build.PL based installer.
It would be good for this to be released, as it is causing confusion in the wild.
Thanks, Karen, for the reminder and Thanks, Dan, in the first place for the patch. Released as 2.34-TRIAL just a minute ago