From owner-freebsd-ports@FreeBSD.ORG Sat Mar 12 23:25:10 2011 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx2.freebsd.org (mx2.freebsd.org [IPv6:2001:4f8:fff6::35]) by hub.freebsd.org (Postfix) with ESMTP id 5ED24106566B for ; Sat, 12 Mar 2011 23:25:10 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from doug-optiplex.ka9q.net (hub.freebsd.org [IPv6:2001:4f8:fff6::36]) by mx2.freebsd.org (Postfix) with ESMTP id A4F1414DE6F for ; Sat, 12 Mar 2011 23:25:09 +0000 (UTC) Message-ID: <4D7C00D5.8070003@FreeBSD.org> Date: Sat, 12 Mar 2011 15:25:09 -0800 From: Doug Barton Organization: http://SupersetSolutions.com/ User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.15) Gecko/20110304 Thunderbird/3.1.9 MIME-Version: 1.0 To: freebsd-ports@freebsd.org References: <4D76426A.2010006@secnap.com> <20110312215307.GB26099@lonesome.com> <20110312221233.GD79028@comcast.net> In-Reply-To: <20110312221233.GD79028@comcast.net> X-Enigmail-Version: 1.1.2 OpenPGP: id=1A1ABC84 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Superfluous dependencies X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Mar 2011 23:25:10 -0000 On 03/12/2011 14:12, Charlie Kester wrote: > I'm not aware of any tool that will display a similar dependency tree > for a port *before* it is installed. portmaster doesn't _quite_ do that, but it does walk you through all of the config screens (and thus, the related dependencies) prior to building, then present you a list of everything that will be built before you build it. That said, what is really needed is for the OPTIONS framework to take environmental preferences into account when dealing with defaults. In other words, if WITHOUT_X11 is defined in make.conf, then the defaults for OPTIONS that are related to requiring X11 stuff should be off. There are a few ports that have rolled their own manipulation of this, but that logic really needs to be in bsd.options.mk. Any volunteers? :) Doug -- Nothin' ever doesn't change, but nothin' changes much. -- OK Go Breadth of IT experience, and depth of knowledge in the DNS. Yours for the right price. :) http://SupersetSolutions.com/