Subject: Re: how to avoid multiple instances of packages while usind pkgsrc
To: Moritz Eysholdt <Moritz.Eysholdt@mail.uni-oldenburg.de>
From: Juan RP <juan@xtraeme.nopcode.org>
List: tech-pkg
Date: 02/18/2005 00:50:30
On Fri, 18 Feb 2005 00:46:10 +0100
Moritz Eysholdt <Moritz.Eysholdt@mail.uni-oldenburg.de> wrote:

> Hi,
> 
> im trying to use pkgsrc to set up apache, php, subversion and some more 
> tools on an
> FreeBSD 5.3  box as an non-root-user. Thanks to Hubert Feyrer's mk.conf  
> everything seems to work fine at the beginning...
> 
> but, do i realy have to install all the packages again in my own 
> pkg-environment that are already present in the system (installed by 
> root)? I'm talking about gettext, perl, expat, python etc.
> Is there any way to tell pkgsrc that thesese packages are already 
> installed and could be used to solve dependencies?

You could modify the builtin.mk files to look for the right locations...
but that sucks and it's not supported by the pkgsrc team.

If you want something stable, install all required packages from pkgsrc.