Finding dependencies
Ryan Schmidt
ryandesign at macports.org
Tue Jan 15 22:09:52 PST 2008
On Jan 15, 2008, at 20:47, Michael Franz wrote:
> I found a discussion on how dependencies are defined (hierarchical
> vs flat) in the archive. Sounds like the discussion was
> incomplete. Regardless of which method is used is there any tool
> that will walk the Portfile hierarchy to list all the dependencies?
>
> port deps <project/port name> will list the dependencies for the
> port, but it does not list the dependencies of the dependencies.
>
> My problem is that xmlto is a dependencies to some project that I
> am building but I cannot get xmlto to build and would like to
> remove it from the port that is causing it to build, however, I
> cannot figure out what project that is.
I wrote a PHP script which works with Graphviz to create a graph of
recursive dependencies of a port. For example, here's what it does
with the gimp2 port:
http://www.ryandesign.com/tmp/gimp.png
I haven't made it available anywhere yet, but I can send it to you if
you like. Or if you tell me which port you're trying to install, I'll
show you its dependency graph.
More information about the macports-users
mailing list