From owner-freebsd-current@FreeBSD.ORG Mon Nov 21 18:15:21 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 E656A16A420 for ; Mon, 21 Nov 2005 18:15:21 +0000 (GMT) (envelope-from PeterJeremy@optushome.com.au) Received: from mail04.syd.optusnet.com.au (mail04.syd.optusnet.com.au [211.29.132.185]) by mx1.FreeBSD.org (Postfix) with ESMTP id CCEA543D46 for ; Mon, 21 Nov 2005 18:15:20 +0000 (GMT) (envelope-from PeterJeremy@optushome.com.au) Received: from cirb503493.alcatel.com.au (c220-239-19-236.belrs4.nsw.optusnet.com.au [220.239.19.236]) by mail04.syd.optusnet.com.au (8.12.11/8.12.11) with ESMTP id jALIF9sL028244 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Tue, 22 Nov 2005 05:15:10 +1100 Received: from cirb503493.alcatel.com.au (localhost.alcatel.com.au [127.0.0.1]) by cirb503493.alcatel.com.au (8.12.10/8.12.10) with ESMTP id jALIF9Hh005397; Tue, 22 Nov 2005 05:15:09 +1100 (EST) (envelope-from pjeremy@cirb503493.alcatel.com.au) Received: (from pjeremy@localhost) by cirb503493.alcatel.com.au (8.12.10/8.12.9/Submit) id jALIF9ej005396; Tue, 22 Nov 2005 05:15:09 +1100 (EST) (envelope-from pjeremy) Date: Tue, 22 Nov 2005 05:15:09 +1100 From: Peter Jeremy To: Nate Eldredge Message-ID: <20051121181509.GB4267@cirb503493.alcatel.com.au> References: <200511201403.58634.nb_root@videotron.ca> <20051120190852.GB2963@soaustin.net> <20051121090813.GD21670@uk.tiscali.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc 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: Mon, 21 Nov 2005 18:15:22 -0000 On Mon, 2005-Nov-21 01:53:13 -0800, Nate Eldredge wrote: >works as follows. Suppose package Foo requires package Bar, and neither >is currently installed. When you request the installation of Foo, Bar is >also installed, but an "auto" flag is set for Bar. Any package with the >auto flag set is only kept so long as something depends on it. If I >remove Foo, Bar is automatically removed as well, provided I haven't in >the meantime added anything else which depends on it. This would work OK for runtime dependencies but handling build-time only dependencies would need some careful thought. Whilst it might be reasonable to automatically remove gcc-ooo after installing Openoffice.org, I probably wouldn't want autoconf, automake, imake etc deleted immediately after building something that needed them. >I would guess build dependencies should be treated like regular >dependencies. If they're removed after building, then you would have to >reinstall them every time you upgrade the depending package. They can't be treated totally as runtime dependencies because you don't need (or want) them installed if you install a package (rather than building a port). >Anyway, AFAIK FreeBSD doesn't have anything like this, but it would be >nifty if it did. Agreed. -- Peter Jeremy