Subject: Re: Package Views Integration (finally!)
To: NetBSD Packages Technical Discussion List <tech-pkg@NetBSD.org>
From: Alan Barrett <apb@cequrux.com>
List: tech-pkg
Date: 08/23/2003 09:07:13
On Fri, 22 Aug 2003, Greg A. Woods wrote:
> > It looks as though my wishes are granted.  As far as I can tell, if a
> > binary package does not contain a +VIEWS or +DEPOT file then pkg_add
> > will install it the old way, and if pkg_create is invoked without a "-E"
> > option then it will create binary packages the old way.
> 
> Well that's good for you, but how does it help non-binary pkgsrc users?

I don't know what you mean.  If "non-binary pkgsrc user" means "somebody
who builds their own packages", then I certainly qualify.

I fully expect that the nice pkgsrc people will have left a knob to tell
the pkgsrc *.mk files not to create any link farm during "make install",
and to invoke pkg_create without "-E" during "make package".  But if
not, just frob the *.mk files yourself; I know I would.

> We cannot compile packages to use pkgviews and then somehow magically
> transmogrify them into non-pkgviews binary packages.  That's simply not
> possible to do safely (at least not without Todd's backwards pkgviews
> symlink hack).

I agree.

--apb (Alan Barrett)