Subject: Re: pkg_install/libnbcompat on OpenBSD
To: None <>
From: Frederick Bruckman <>
List: tech-pkg
Date: 09/16/2003 08:10:53
On Tue, 16 Sep 2003, Johnny C. Lam wrote:

> On Tue, Sep 16, 2003 at 12:10:45PM +0900, Jun-ichiro itojun Hagino wrote:
> > > On Tue, 16 Sep 2003, Jun-ichiro itojun Hagino wrote:
> >
> > > > 	- perl 5.8.0 exists in /usr/bin/perl, however, lang/perl5 do try to
> > > > 	  build perl
> > > I see you just changed the definition of ${PERL5} in
> > > .../pkgsrc/mk/ to "usr/bin/perl". I suspect this will
> > > cause "pkgsrc" perl modules to install into the base system's perl
> > > directories (unless the user overrides the definition). Is that what
> > > you want? Where does OpenBSD ports install the perl modules?
> >
> > 	oops.  i do not want lang/perl/ (or USE_PERL) to build perl,
> > 	how can i do that?
> You can't (yet).  Use of a non-pkgsrc perl isn't something that pkgsrc
> supports because a non-pkgsrc perl won't look in the right spots for
> pkgsrc-installed perl5 modules.  We don't (yet) have a way to say
> "I only want the perl binary and nothing else".

I haven't actually tried it, but I think the module's Makefile.PL will
install it to the "right" place, and that the logic in will
find that place and register it correctly. I'm just not sure that we
want to encourage that. It's bad enough how pkgsrc competes with CPAN;
it'll be worse on OpenBSD with OpenBSD ports in the picture.