Geoffrey Young wrote:

The punch line is that most 3rd party Apache:: modules's Makefile.PL will look as simple as:

    require ModPerl::MM;
    ModPerl::MM::WriteMakefile(
        NAME => "Apache::Peek",
        VERSION_FROM => "Peek.pm",
    );

no matter if they use XS or not.


I'd suggest the following patch to make the above assertion true - it adds the 'macro' option to the default list. without it, installations are not automatically intelligent about Apache2/ installations.

Ah, of course, I've missed this one. Thanks for reminding me. However the patch should be different, to override only macro->{MOD_INSTALL} and allow Makefile.PL to override other macro => {} keys, similar to 'dynamic_lib'. I'll apply the right fix.


otherwise, nice work stas - it works like a charm.

Thanks Geoff!


Now going to polish Apache::Test for 3rd party modules.

__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to