How to find package dependencies from the package

Conor McDermottroe lists at mcdermottroe.com
Thu Sep 15 05:54:26 PDT 2005


On Wed, 2005-09-14 at 20:35 -0500, Eric Schuele wrote:
> Conor McDermottroe wrote:
> > Hi,
> > 
> > I have a terrible feeling that this is a very stupid question, but here
> > goes:
> > 
> > How do I programatically find out the list of packages that a given
> > package depends on?
> 
>   # cd /usr/ports/foo/bar
>   # make pretty-print-run-depends-list
>   # make pretty-print-build-depends-list
> 
> Would that do what you need?  Or must you derive this from the *package*?

I'm doing it from the package, as the machine that will have the
packages installed does not have enough space for the ports collection
(it's on CF) and the machine I have with the ports collection on it is a
different architecture (amd64).

Thanks for the suggestion though. :-)

-C


More information about the freebsd-ports mailing list