Subject: Re: perl module in PERL5_ARCHLIB instead of PERL5_SITEARCH
To: None <tech-pkg@netbsd.org>
From: Johnny C. Lam <jlam@netbsd.org>
List: tech-pkg
Date: 11/13/2002 09:30:02
On Wed, Nov 13, 2002 at 06:17:07PM +0100, Klaus Heinz wrote:
>
> while upgrading time/p5-Time-HiRes, I noticed the module will be
> installed into the PERL5_ARCHLIB directory instead of PERL5_SITEARCH.
> This is probably caused by the fact, that perl 5.8 includes Time::HiRes.
>
> If I change PERL5_SITEARCH to PERL5_ARCHLIB in the pkgsrc Makefile, the
> package p5-Time-HiRes will overwrite the files delivered with perl 5.8.
>
> So, I think it best to patch the appropriate files in order to install
> the module in PERL5_SITEARCH as usual. This way, the module will not
> overwrite the private files of perl5.8 but rather override them, via
> @INC.
>
> Is this the right thing(c) to do?
Yes, making the module install into PERL5_SITEARCH is correct. Usually,
it's done by removing any INSTALLDIRS line in Makefile.PL.
Cheers,
-- Johnny Lam <jlam@netbsd.org>