Subject: Re: pkg_install/libnbcompat on OpenBSD
To: Jun-ichiro itojun Hagino <itojun@itojun.org>
From: Johnny C. Lam <jlam@NetBSD.org>
List: tech-pkg
Date: 09/16/2003 03:31:10
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/defs.OpenBSD.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/buidlink.mk (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".

	Cheers,

	-- Johnny Lam <jlam@NetBSD.org>