Subject: Re: pkg_delete delete build dependencies
To: Hubert Feyrer <>
From: Jeremy C. Reed <>
List: tech-pkg
Date: 01/29/2004 09:03:58
On Thu, 29 Jan 2004, Hubert Feyrer wrote:

> > Is it okay if we have -R repeated (like -R or "-R -R") to mean that
> > @blddep should be removed too?
> Um, I think that would be -r instead of -R, no? Can you given an example?

-r is for deleting a package and all of the packages which depend on that

-R is for cleaning up by deleting a package and any packages it depends on
(unless some other package still needs it).

An example:

zebedee is built using gmake and perl. Doing "pkg_delete -R zebedee"
currently would remove zebedee and tcl (if tcl is not used by other

My idea was to have "pkg_delete -RR zebedee" (or "pkg_delete -RB zebedee")
remove zebedee and tcl and gmake and perl (if they are not depended on by
another package).

> > Or should we have another switch? If so, what? Maybe "-B" to mean delete
> > @blddep build dependencies?
> I'd really prefer if that could be kept as a pkgsrc-target instead of
> shoving it into pkg_delete. This is (mostly) a build-time only thing
> anyways.

That's what jlam just suggested too. I will work on a target for that.

   Jeremy C. Reed