determining what ports directly depend on X

Frank J. Laszlo laszlof at FreeBSD.org
Thu Jan 3 19:03:26 PST 2008


Aryeh Friedman wrote:
> I need to determine which ports depend directly (i.e. they have it
> listed as a B/RDEPS).   The specfic task I am working on right now
> (but this will need to be more general later) is attempting to find
> all the direct childern of libtool15
>   
A quick hack would be

grep libtool-1.5 /usr/ports/INDEX-6| awk -F"|" {'print $2'}

Regards,
    Frank Laszlo


More information about the freebsd-ports mailing list