Subject: Re: Perl packlist
To: Emmanuel Dreyfus <>
From: Hubert Feyrer <>
List: tech-pkg
Date: 04/17/2001 13:22:18
On Mon, 16 Apr 2001, Emmanuel Dreyfus wrote:
> And the fix is not really easy. There are three standard location
> handled by the package system for perl modules:
> PERL5_SITEARCH -> /usr/pkg/lib/perl5/site_perl/powerpc-netbsd
> PERL5_ARCHLIB  -> /usr/pkg/lib/perl5/powerpc-netbsd/5.00404
> PERL5_SITELIB  -> /usr/pkg/lib/perl5/site_perl
> the packlist for Xerces-P goes into 
> /usr/pkg/lib/perl5/site_perl/5.6.0/powerpc-netbsd
> Hence two questions: 
> 1) I currently have Perl-5.6.0. I didn' expect PERL5_ARCHLIB to point to
> the 5.00404 directory. Is it the normal behavior?

Most certainly not - I'm not sure why you think it is - look at

PERL5_SITEARCH!=        eval `${PERL5} -V:installsitearch 2>/dev/null`; \
                        echo $${installsitearch}

Now running this:

	smaug% perl -V:installsitearch

This is with perl 5.6.0 on sparc/1.5. Looks sane? 

If you want to check out what the variables are set to you, use:

	make show-var VARNAME=PERL5_SITELIB 


Does this really give you seomthing 5.004ish with perl5.6.0 installed?

> 2) How do I tell the package system to go in
> site_perl/5.6.0/powerpc-netbsd ?

Just use Makefile.PL, and it'll go there automatically. 
Use PERL5_PACKLIST to to generate the PLIST from the .packlist files (see
other p5-* packages)

 - Hubert

Hubert Feyrer <>