[patch] remove build dependencies in bsd.ports.mk

Brian Candler B.Candler at pobox.com
Mon Nov 21 01:08:18 PST 2005


On Sun, Nov 20, 2005 at 01:08:52PM -0600, Mark Linimon wrote:
> On Sun, Nov 20, 2005 at 02:03:46PM -0500, Nicolas Blais wrote:
> > As I 'ls /var/db/pkg', I noticed a lot of ports I didn't use and that didn't 
> > have a +REQUIRED_BY file. Ports such as ezm3 and gcc-ooo that I could do 
> > without. So, what I did is a simple hack in /usr/ports/Mk/bsd.port.mk so that 
> > I can run 'make deinstall-builddepends' after a port is installed, and it 
> > will ask me to remove any build dependencies.
> 
> A lot of people use sysutils/pkg_cutleaves, which will interactively walk
> through all unused ('leaf') ports.

I don't support the ports system is smart enough to remember which ports
were installed explicitly, and which were installed only because they were a
dependency for another port?


More information about the freebsd-current mailing list