I just checked in the finishing touches on --prefix support for Module::Build. Module::Build 0.27_02 will have "perl Build.PL --prefix=..." to mirror "perl Makefile.PL PREFIX=...". More importantly, Module::Build's generated Makefile.PLs can finally emulate PREFIX.
IS EVERYBODY HAPPY NOW?!
EDIT:I forgot to mention that it was Rob Kinyon who took first stab at the --prefix patch and got me off my ass to finish it off. Everybody say "thank you, Rob".
This feature was auctioned off at OSCON 2004 and I wish I had the names of the folks who ponied up. Bill Odom probably has them, I'll see if I can get them from him.
EDIT: Bill came through with the names:
$90.00 - Tim Bunce
$20.00 - Curtis Poe
$10.00 - Unknown (I think it was someone from ActiveState)
Also Module::Build 0.27_XX fixes its --install_base locations. MakeMaker has an INSTALLBASE (or INSTALL_BASE, haven't decided) which matches what 0.27 does, not 0.26. So once Module::Build 0.28 is released I'll release a new version of MakeMaker that documents INSTALLBASE. Then, finally, you can install MakeMaker and Module::Build based modules using the same method. I strongly encourage the use of installbase over the fundamentally broken prefix.
Thanks! (Score:1)
Actually, I've never used PREFIX, so this doesn't really impact me. But I do understand the frustration that can arise from constant grumbling. At least you'll be able to get those people off your back now.
Thank you! (Score:1)
Not that I want it of course, but it'll stop the damn pointless arguments.
Actually, the pessimist in me says it won't - but y'have to hope.
s{/local/}{/} if $debian (Score:2)
slide009.html of your presentation suggests that Debian puts stuff under /usr/local. On my debian system things look like this:
prefix: /usr
modules: /usr/share/perl5
programs: /usr/bin
module docs: /usr/share/man/man1
program docs: /usr/share/man/man3
I think /usr/share/perl5 is only used for 'pure-Perl' modules. Architecture-specific ones go under /usr/lib/perl5
Re:s{/local/}{/} if $debian (Score:2)
Responsible parties (Score:1)
Re:Responsible parties (Score:1)
happy (Score:1)
OSHA says you can remove those handrails now...
John
Thanks (Score:1)
Thanks! (Score:1)
Thank you! (Score:1)
As someone who is rebuilding Perl and Modules for internal distribution but NOT installing to "the" master place, this should make my life somewhat easier.
Bill
# I had a sig when sigs were cool
use Sig;