From owner-freebsd-ports@FreeBSD.ORG Sun Mar 13 02:28:43 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 0E5371065673 for ; Sun, 13 Mar 2011 02:28:43 +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 A132C152166; Sun, 13 Mar 2011 02:28:42 +0000 (UTC) Message-ID: <4D7C2BDA.4030407@FreeBSD.org> Date: Sat, 12 Mar 2011 18:28:42 -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: perryh@pluto.rain.com References: <4D76426A.2010006@secnap.com> <20110312215307.GB26099@lonesome.com> <20110312221233.GD79028@comcast.net> <4d7c2841.Luv9s8bmxfYBYXYS%perryh@pluto.rain.com> In-Reply-To: <4d7c2841.Luv9s8bmxfYBYXYS%perryh@pluto.rain.com> X-Enigmail-Version: 1.1.2 OpenPGP: id=1A1ABC84 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: corky1951@comcast.net, freebsd-ports@freebsd.org 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: Sun, 13 Mar 2011 02:28:43 -0000 On 03/12/2011 18:13, perryh@pluto.rain.com wrote: > Charlie Kester wrote: > >> A few minutes ago, I was answering a post on the forums, in which >> a user expressed surprise (and outrage) that the phpmyadmin port >> was installing libX11 and similar things on his server. By >> installing it myself and then using "pkg_tree -v" to examine the >> dependencies, I was able to narrow it down to two of the port's >> options that were ON by default. >> >> I'm not aware of any tool that will display a similar dependency >> tree for a port *before* it is installed. "make all-depends-list" >> creates exactly what it suggests, a list, and doesn't show any >> of the hierarchical info that is needed to answer questions like >> the one I was working on. If there is such a tool, I'd love to >> hear about it. > > Would something along the lines of "make -n fetch-recursive" > help at all? I would expect it to walk the dependency tree > in a predictable order. The problem with the pre-existing targets is that they do not take the user's choices in OPTIONS into account. portmaster's technique (while not perfect) at least does that. 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/