Subject: Re: want to use builtin perl on a non-NetBSD deployment of pkgsrc
To: George Michaelson <ggm@apnic.net>
From: Jeremy C. Reed <reed@reedmedia.net>
List: tech-pkg
Date: 07/07/2005 21:55:17
On Fri, 8 Jul 2005, George Michaelson wrote:
> Is there a simple way to use the builtin/base perl but use pkgsrc
> otherwise?
>
> I'm guessing that because there is no lang/perl5/builtin.mk the answer
> is NO.
>
> I believe that a shell of a pkg which satisfies the pkg_info state, but
> has symlinks back to the /usr/lib/perl5/... will probably work. Before
> I do anything that disgustingly hackish, I thought I'd ask what others
> do.
There is not any pkgsrc way at this time. Creating a dummy perl package
and symlinks may work, but depends on what you all use. Also, it will get
messy when you install a package that depends on various perl module
packages.
The best idea is to just let pkgsrc provide perl.
Please see
http://mail-index.netbsd.org/tech-pkg/2004/07/16/0008.html
http://mail-index.netbsd.org/tech-pkg/2004/07/16/0011.html
(and the "pkg_install/libnbcompat on OpenBSD" thread on tech-pkg in
September 2003)
Good luck,
Jeremy C. Reed
BSD News, BSD tutorials, BSD links
http://www.bsdnewsletter.com/