Print +REQUIRED_BY as tree?
Lev Serebryakov
lev at FreeBSD.org
Mon Sep 12 19:14:22 UTC 2011
Hello, Matthew.
You wrote 12 сентября 2011 г., 22:38:05:
> On 12/09/2011 17:58, Lev Serebryakov wrote:
>> Hello, Ports.
>>
>> Is here console tool, which shows dependency tree of installed ports
>> from "required" port to "users"? pkg_tree performs opposite task.
>>
>> +REQUIRED_BY is flat list, unfortunately.
>>
>> I need to investigate exact path why this port is installed on my
>> system :)
>>
> ports-mgmt/p5-FreeBSD-Portindex can do this:
> lucid-nonsense:/usr/ports:% portdepends -s ports-mgmt/p5-FreeBSD-Portindex
> [......] p5-FreeBSD-Portindex-2.4 (ports-mgmt/p5-FreeBSD-Portindex)
> [...BR.] - p5-BerkeleyDB-0.49 (databases/p5-BerkeleyDB)
> [...BRL] - - db48-4.8.30.0 (databases/db48)
> [EP.BR.] - - perl-5.12.4_2 (lang/perl5.12)
> [EP.BR.] - perl-5.12.4_2 (lang/perl5.12)
It seems, that your tool works by INDEX or ports database (not
installed ports! They could differ, if installed ports are
out-of-date!) and it shows exactly the same output as pkg_tree:
opposite to what I need.
--
// Black Lion AKA Lev Serebryakov <lev at FreeBSD.org>
More information about the freebsd-ports
mailing list