----- Original Message -----
From: "David Oswald"
Here's how it works: By putting BUILD_REQUIRES ...... in the
Makefile.PL file, when I create the distribution with
make dist
... the MYMETA.yml and MYMETA.json files will list Inline as a build
requirement (this is different from a module dependency). The cpan
shell (and presumably cpanm and cpanplus ) will then pull in and build
Inline before invoking its own local "perl Makefile.PL".
If this theory proves to work, the Inline documentation needs to be
updated to mention the need for adding "BUILD_REQUIRES => { 'Inline'
=> '0.49' }" to the distribution's Makefile.PL.
I can see that there is documentation in the "Whatever happened to the
SITE_INSTALL option?" section of the Inline-FAQ pod that would need to be
changed. (That documentation predates the rise to prominence of CPAN.pm and
friends.)
Is that what you're looking at ? .... or is there some other documentation
also in need of an update ?
Once Math::Prime::FastSieve v0.03 hits the various CPAN mirrors within
a few hours you should be able to look at the new version of the
Makefile.PL to see what I'm talking about.
Yep, I see it ... and the affect it has on the 'META.*' files.
Take a look at the smoke
tests, say, tomorrow. If we stop seeing the "unknown" test results
then we'll know this approach succeeded.
Not that I know much about the cpan modules, but I *think* this should now
work as desired.
Cheers,
Rob