Subject: Re: User's guide to pkgviews (experimental!)
To: Juan RP <>
From: Johnny C. Lam <>
List: tech-pkg
Date: 01/05/2004 23:23:44
On Tue, Jan 06, 2004 at 08:11:29AM +0100, Juan RP wrote:
> On Tue, 6 Jan 2004 06:50:39 +0000
> "Johnny C. Lam" <> wrote:
> > I've attached a start of a user's guide to using pkgviews for those
> > users who wish to experiment with the new functionality in pkgsrc.
> > The following commands will install both pkgsrc/www/lynx and
> > pkgsrc/www/lynx-current onto the same system using pkgviews:
> >	cd /usr/pkgsrc/www/lynx; make install
> >	cd /usr/pkgsrc/www/lynx-current; make install PKGVIEWS=devel
> > The stable version of lynx ( is linked into the standard
> > view, while the -current version of lynx ( is linked into
> > the "devel" view. 
> I have question about this.... in the example you are using different
> directory (views directory I think)  to install lynx and lynx-current, but do we
> can to install them into the same directory? e.g:
> $ cd lynx; make install
> $ cd lynx-current; make install

This sequence of commands will try to install both lynx and lynx-current
into the standard view.  The result will be that lynx will be symlinked
correctly, while lynx-current will not.  The attempt to add lynx-current
to the standard view will cause a non-fatal error that notes that there
are some file collisions between lynx and lynx-current.

It's also possible to install a package without adding it to any view
whatsoever.  This can be done by adding BUILD_VIEWS=no to /etc/mk.conf
or by specifying on the command line with "make install BUILD_VIEWS=no".
Then the package can be managed completely using the commands in
section 0.4 and 0.5 of the User's Guide.


	-- Johnny Lam <>