From owner-freebsd-current@FreeBSD.ORG Mon Nov 21 09:08:18 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 83CEC16A41F for ; Mon, 21 Nov 2005 09:08:18 +0000 (GMT) (envelope-from b.candler@pobox.com) Received: from orb.pobox.com (orb.pobox.com [207.8.226.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2AEDF43D45 for ; Mon, 21 Nov 2005 09:08:18 +0000 (GMT) (envelope-from b.candler@pobox.com) Received: from orb (localhost [127.0.0.1]) by orb.pobox.com (Postfix) with ESMTP id D8BA26D4; Mon, 21 Nov 2005 04:08:38 -0500 (EST) Received: from mappit.local.linnet.org (212-74-113-67.static.dsl.as9105.com [212.74.113.67]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by orb.sasl.smtp.pobox.com (Postfix) with ESMTP id 9D8968A; Mon, 21 Nov 2005 04:08:36 -0500 (EST) Received: from lists by mappit.local.linnet.org with local (Exim 4.54 (FreeBSD)) id 1Ee7en-0005ei-Ml; Mon, 21 Nov 2005 09:08:13 +0000 Date: Mon, 21 Nov 2005 09:08:13 +0000 From: Brian Candler To: Mark Linimon Message-ID: <20051121090813.GD21670@uk.tiscali.com> References: <200511201403.58634.nb_root@videotron.ca> <20051120190852.GB2963@soaustin.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20051120190852.GB2963@soaustin.net> User-Agent: Mutt/1.4.2.1i Cc: freebsd-current@freebsd.org, Nicolas Blais Subject: Re: [patch] remove build dependencies in bsd.ports.mk X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Nov 2005 09:08:18 -0000 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?