Subject: Re: pkg_delete delete build dependencies
To: Johnny C. Lam <jlam@NetBSD.org>
From: Jeremy C. Reed <reed@reedmedia.net>
List: tech-pkg
Date: 01/28/2004 22:58:13
On Thu, 29 Jan 2004, Johnny C. Lam wrote:
> > But also mentioned was that the pkg_delete -R does not clean up the build
> > dependencies too.
> >
> > Is it okay if we have -R repeated (like -R or "-R -R") to mean that
> > @blddep should be removed too?
>
> @blddep doesn't store BUILD_DEPENDS; rather, it stores the exact
> dependencies of the packages that match the wildcard dependencies
> listed in @pkgdep upon which the package depends.
I should have seen that.
Then maybe we should add some field that records the BUILD_DEPENDS.
It could be dangerous to pkg_delete them too (like could lose crucial
perl) but that would only happen if using -RR (or -RB).
Jeremy C. Reed
http://bsd.reedmedia.net/