simple question...how to show packages which depend upon a
particular port
Parv
parv at pair.com
Wed Nov 29 21:34:05 PST 2006
in message <629233.82571.qm at web51109.mail.yahoo.com>,
wrote Dino Vliet thusly...
>
> I'm almost ashamed to ask this BUT I really don't know how to find
> the packages which depend upon a particular port.
>
> In this case, a portversion -l "<" showed mysql-client in that
> list. I can't recall having installed it by myself
Did you install mysql-server with default options? Actually, in
mysql51-server port, there is no option to disable install of the
client portion.
> I wanted to know what the packages are which depend on it. Can
> somebody show me this command......and if it will be a RTFM
> answer, please tell me which FM:-)
Here are some of the ways not requiring connection to Internet I
know ...
- running "make -V {LIB,RUN,BUILD}_DEPENDS" in a port directory
also lists the appropriate type of dependency list, so would
running "make pretty-print-{run,build}-depends-list";
- pkg_info(1) w/ -[rR] options lists the dependencies for given
ports|packages;
- ${PORTSDIR:-/usr/ports}/INDEX* lists dependencies for each port
(which may need post processing to be human readable);
- sysutils/pkg_tree port creates text tree of the dependencies;
As for FM, see ...
- pkg_info(1) & pkg_tree(7) man pages;
- ${PORTSDIR:-/usr/ports}/Mk/bsd.port.mk
- Parv
--
More information about the freebsd-questions
mailing list