Re: [Module-build-general] Re: About Module-Build
Status: Beta
Brought to you by:
kwilliams
|
From: Mathieu A. <ma...@ma...> - 2003-07-04 06:30:35
|
+-Le 03/07/2003 15:38 -0500, Ken Williams =E9crivait : |=20 | I understand your point, but compatibility with the PREFIX setting in | MakeMaker is not going to happen in Module::Build, at least not anytime | soon. The PREFIX behavior is mis-designed and often leads to people | installing things in places they didn't intend to install them. The | redesigned behavior of Module::Build is simpler, more flexible, and | safer. If we can find a way to bolt on a backwards-compatibility layer | for PREFIX that could be a good thing, but it will still be broken in | the same way PREFIX has always been broken, and I'm not inclined to | pursue it very aggressively for that reason. |=20 | If I can help you solve your specific problem in another way though, | don't hesitate to ask here. Better cooperation with packaging systems | is a major goal of Module::Build. Well, I do agree that PREFIX was a bit broken, but it's really useful, say, you want to make a new package, it's really easier to make install PREFIX=3D/var/tmp/something so that it gets there, and so that it's easier = to find witch files are installed :) I guess if I'm right, I should do a perl ./Build.PL destdir=3D/var/tmp/something and after, perl ./Build install would work out of the box for me, right ? I'm wondering because as I add perl modules to the FreeBSD ports tree, more and more use Module::Build, and we really need some knob to have them respect PREFIX :) If it means adding a second way of doing perl packages, I guess we'll do = it. --=20 Mathieu Arnold |