Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Mar 2011 18:28:42 -0800
From:      Doug Barton <dougb@FreeBSD.org>
To:        perryh@pluto.rain.com
Cc:        corky1951@comcast.net, freebsd-ports@freebsd.org
Subject:   Re: Superfluous dependencies
Message-ID:  <4D7C2BDA.4030407@FreeBSD.org>
In-Reply-To: <4d7c2841.Luv9s8bmxfYBYXYS%perryh@pluto.rain.com>
References:  <AANLkTik65O3gbUoVBM-YbjWu0dpq0OuNn2KoUaC5b5ov@mail.gmail.com>	<4D76426A.2010006@secnap.com>	<AANLkTi=j7fR%2BRm4Fy14Q_KPDyE%2B7%2BO_d3pd3Yaek=kJG@mail.gmail.com>	<20110312215307.GB26099@lonesome.com>	<20110312221233.GD79028@comcast.net> <4d7c2841.Luv9s8bmxfYBYXYS%perryh@pluto.rain.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 03/12/2011 18:13, perryh@pluto.rain.com wrote:
> Charlie Kester<corky1951@comcast.net>  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/




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4D7C2BDA.4030407>