From owner-freebsd-current@FreeBSD.ORG Sun Nov 20 19:08:53 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 8C8E316A41F for ; Sun, 20 Nov 2005 19:08:53 +0000 (GMT) (envelope-from linimon@lonesome.com) Received: from mail.soaustin.net (mail.soaustin.net [207.200.4.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5484D43D49 for ; Sun, 20 Nov 2005 19:08:53 +0000 (GMT) (envelope-from linimon@lonesome.com) Received: by mail.soaustin.net (Postfix, from userid 502) id 9CC3930E6; Sun, 20 Nov 2005 13:08:52 -0600 (CST) Date: Sun, 20 Nov 2005 13:08:52 -0600 To: Nicolas Blais Message-ID: <20051120190852.GB2963@soaustin.net> References: <200511201403.58634.nb_root@videotron.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200511201403.58634.nb_root@videotron.ca> User-Agent: Mutt/1.5.9i From: linimon@lonesome.com (Mark Linimon) X-Mailman-Approved-At: Sun, 20 Nov 2005 20:05:53 +0000 Cc: freebsd-current@freebsd.org 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: Sun, 20 Nov 2005 19:08:53 -0000 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. mcl