[Module-build-general] Re: About Module-Build
Status: Beta
Brought to you by:
kwilliams
|
From: Ken W. <ke...@ma...> - 2003-07-01 12:40:50
|
On Tuesday, July 1, 2003, at 04:06 AM, Mathieu Arnold wrote:
> Hi,
>
> I use FreeBSD, and I have a lot of perl ports. I needed a module which
> used
> Module::Build to build, and I was displeased to see that I could not
> override PREFIX easily. We usually do this :
> make install PREFIX=/something
> so that instead of going into /usr/local/lib/perl5/site_perl/<perl
> version>/, it goes into /something/lib/perl5/site_perl/<perl version>/
> It's a really important feature for the FreeBSD ports, and believe you
> should know your module well enough to correct this :)
>
Hi Mathieu,
Thanks for your message. You probably actually want to use the
'destdir' parameter, which was created specifically to aid package
managers. Recent versions of MakeMaker have a DESTDIR parameter now
too, which does basically the same thing as in Module::Build.
Aside from that, the directory customization in released version of
Module::Build is not very good. It's the top priority for version
0.19, and it's coming along well. You can see the current direction at
http://sourceforge.net/mailarchive/
forum.php?thread_id=2686103&forum_id=10905 .
Thanks.
-Ken
|