[Module-build-general] Re: About Module-Build
Status: Beta
Brought to you by:
kwilliams
|
From: Mathieu A. <m...@ab...> - 2003-07-01 13:14:32
|
+-le 01/07/2003 07:40 -0500, Ken Williams =E9crivait : |=20 | On Tuesday, July 1, 2003, at 04:06 AM, Mathieu Arnold wrote: |=20 |> Hi, |>=20 |> I use FreeBSD, and I have a lot of perl ports. I needed a module which =20 |> 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=3D/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 :) |>=20 |=20 | Hi Mathieu, |=20 | 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. |=20 | 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=3D2686103&forum_id=3D= 1 | 0905 . I do not know, but it would be very good that using : perl PREFIX=3D.... Makefile.PL does indeed work. It would have the FreeBSD's port work out of the box, without needs to add another hack. --=20 Mathieu Arnold |