On 12/21/2011 1:30 PM, 1126 wrote:> Hello guys!
>
> I got a question concerning dependencies.. Is there a method to check
> what depends on a given port? What do I have to do to check what depends
> on - say - gconf? I know that there's a way to check what gconf depends
> on (via checking freshports.org for example), but what about the other
> way around?
Try pkg_info -r and -R
eg
pkg_info -R m4-1.4.16,1
Information for m4-1.4.16,1:
Required by:
autoconf-2.68
automake-1.11.1
bison-2.4.3,1
# pkg_info -r automake-1.11.1
Information for automake-1.11.1:
Depends on:
Dependency: perl-threaded-5.14.1_3
Dependency: m4-1.4.16,1
Dependency: automake-wrapper-20101119
Dependency: autoconf-wrapper-20101119
Dependency: autoconf-2.68
Another way is described at
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports-finding-applications.html
---Mike
--
-------------------
Mike Tancsa, tel +1 519 651 3400
Sentex Communications, mike@sentex.net
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada http://www.tancsa.com/