Subject: | Test-Simple Makefile.PL Includes Key Not Recognized by MakeMaker |
Distribution: Test-Simple-0.62
[work 513]$ perl -v
This is perl, v5.8.4 built for darwin-2level
[work 515]$ uname -a
Darwin Macintosh.local 7.9.0 Darwin Kernel Version 7.9.0: Wed Mar 30 20:11:17 PST 2005; root:xnu/xnu-517.12.7.obj~1/RELEASE_PPC Power Macintosh powerpc
Bug:
Trying to install Test-Simple-0.62, I got the following warning:
[Test-Simple-0.62 514]$ perl Makefile.PL
WARNING: LICENSE is not a known parameter.
Checking if your kit is complete...
Looks good
'LICENSE' is not a known MakeMaker parameter name.
Writing Makefile for Test::Simple
I plunged ahead and installed anyway. Test-Simple-0.62 (including the now included Test-Builder-Tester) installed without problem.
By way of diagnosis, I first upgraded ExtUtils-MakeMaker. I had been running 6.17; upgraded to 6.30. Again called 'perl Makefile.PL'. Same warning message appeared. Going to search.cpan.org, I used the 'grep' tool and determined that a 'LICENSE' key was added to WriteMakefile() in Makefile.PL in Test-Simple-0.61. I peeked into EU::MM (there be goblins) and, AFAICT, there was no provision for a LICENSE key in 6.30. So it appears that Test-Simple-0.62's Makefile.PL is calling for a key that EU::MM cannot currently handle.
Simply deleting the LICENSE key from Test-Simple-0.62's Makefile.PL enables me to call 'perl Makefile.PL' and have it run without warning:
51d50
< LICENSE => 'perl',
Patch attached.
51d50
< LICENSE => 'perl',