Subject: Re: CVS commit: pkgsrc/misc
To: Juan RP <juan@xtraeme.unixbsd.org>
From: Julio M. Merino Vidal <jmmv@menta.net>
List: tech-pkg
Date: 06/05/2004 14:13:59
On Saturday 05 June 2004 13:57, Juan RP wrote:
> On Sat, 5 Jun 2004 11:01:24 +0200
>
> "Julio M. Merino Vidal" <jmmv@menta.net> wrote:
> > On Saturday 05 June 2004 02:23, Juan Romero Pardines wrote:
> > > Module Name:	pkgsrc
> > > Committed By:	xtraeme
> > > Date:		Sat Jun  5 00:23:56 UTC 2004
> > >
> > > Modified Files:
> > > 	pkgsrc/misc/gnome-dirs: Makefile
> > > 	pkgsrc/misc/gnome2-dirs: Makefile
> > >
> > > Log Message:
> > > Enable pkgviews installation.
> >
> > What's the point of this?  These packages should not be used at all in a
> > pkgviews world.
>
> Why not?

Because pkgviews handle shared directories automatically.  Directories are
only removed when there are no more files in them (which is what -dirs pkgs
do in overwrite mode).

=46rom bsd.pkg.mk:

=2Eif defined(USE_DIRS) && !empty(USE_DIRS) && \
    ${PKG_INSTALLATION_TYPE} =3D=3D "overwrite"
=2E  include "../../mk/dirs.mk"
=2Eendif

> I can back out the changes if they are useless.

Yes please.  They may be still required if you install an overwrite package=
 in
a pkgviews world, but in that case, having -dirs packages pkgviewified is
pointless.

Cheers

=2D-=20
Julio M. Merino Vidal <jmmv@menta.net>
The NetBSD Project - http://www.NetBSD.org/