Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Dec 2011 13:53:22 -0500
From:      Mike Tancsa <mike@sentex.net>
To:        1126 <mailinglists@elfsechsundzwanzig.de>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: "required by"?
Message-ID:  <4EF22B22.2040709@sentex.net>
In-Reply-To: <alpine.BSF.2.00.1112211927100.9546@Lux.localdomain>
References:  <alpine.BSF.2.00.1112211927100.9546@Lux.localdomain>

next in thread | previous in thread | raw e-mail | index | archive | help
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/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4EF22B22.2040709>