From owner-freebsd-ports@FreeBSD.ORG Sun Mar 13 02:26:13 2011 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4E57B1065672 for ; Sun, 13 Mar 2011 02:26:13 +0000 (UTC) (envelope-from perryh@pluto.rain.com) Received: from agora.rdrop.com (agora.rdrop.com [IPv6:2607:f678:1010::34]) by mx1.freebsd.org (Postfix) with ESMTP id 228748FC16 for ; Sun, 13 Mar 2011 02:26:13 +0000 (UTC) Received: from agora.rdrop.com (66@localhost [127.0.0.1]) by agora.rdrop.com (8.13.1/8.12.7) with ESMTP id p2D2QBuS023815 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 12 Mar 2011 18:26:12 -0800 (PST) (envelope-from perryh@pluto.rain.com) Received: (from uucp@localhost) by agora.rdrop.com (8.13.1/8.12.9/Submit) with UUCP id p2D2QBKL023814; Sat, 12 Mar 2011 18:26:11 -0800 (PST) Received: from fbsd61 by pluto.rain.com (4.1/SMI-4.1-pluto-M2060407) id AA03964; Sat, 12 Mar 11 18:13:23 PST Date: Sat, 12 Mar 2011 18:13:21 -0800 From: perryh@pluto.rain.com To: corky1951@comcast.net Message-Id: <4d7c2841.Luv9s8bmxfYBYXYS%perryh@pluto.rain.com> References: <4D76426A.2010006@secnap.com> <20110312215307.GB26099@lonesome.com> <20110312221233.GD79028@comcast.net> In-Reply-To: <20110312221233.GD79028@comcast.net> User-Agent: nail 11.25 7/29/05 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: 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:26:13 -0000 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.