Ken Williams wrote:

On Dec 29, 2004, at 8:35 PM, Stas Bekman wrote:

Ken Williams wrote:

On Dec 29, 2004, at 8:22 PM, Stas Bekman wrote:

with MM we override MY::constants so things end up in Apache2/ subdirs in blib/. That's about it. so if normally a file would be installed under /foo/bar it'll be now installed under /foo/bar/Apache2.
[...]
You can provide a mapping from lib to blib in your Build.PL as follows:

 my $build = Module::Build->new
   (
    pm_files => {'lib/Apache/Foo.pm'             # as in MANIFEST
                 => 'lib/Apache2/Apache/Foo.pm'  # as in blib/
                 ...},
    xs_files => {'lib/Apache/Foo.xs'             # as in MANIFEST
                 => 'lib/Apache2/Apache/Foo.xs'  # as in blib/
                 ...},
    ... and so on
   );

I think that ought to do the trick.

So there is no method to override that feeds the path like MM does? The above requires manual search for the files, which is not something we would like to do, on behalf of users, since it might go broken (it's not under our control). It should be something like MM does, where M::B already has the mapping and the override just manipulates it.



-- __________________________________________________________________ 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