how to distinguish direct/indirect requirements?
Stephen Montgomery-Smith
stephen at math.missouri.edu
Fri Nov 23 12:42:36 PST 2007
On Fri, Nov 23, 2007 at 11:25:25PM +0300, Andrew Pantyukhin wrote:
> On Fri, Nov 23, 2007 at 10:49:35AM +0100, Lapo Luchini wrote:
> > Is there a way to discriminate direct dependencies fro indirect
> > ones, except from reading every single Makefile? (and knowing
> > to full extent what USE_GNOME and similar lines really do take
> > in as deps)
>
> You can cd some/port/&&make depends, but personally, I've also
> always thought that the difference between direct and indirect
> dependencies should be embedded in the package system.
Haven't been following this thread, so apologies if I misunderstand or repeat.
If you want only the direct depends, you can do this (under sh or bash)
cd the-port
for a in `make -V _LIB_RUN_DEPENDS`
do (cd `echo $a | sed -E 's/.*://'` && make -V PKGNAME); done
More information about the freebsd-ports
mailing list