Date: Sat, 5 Jan 2008 12:26:37 +0100 From: Alexander Leidinger <Alexander@Leidinger.net> To: "Aryeh Friedman" <aryeh.friedman@gmail.com> Cc: "Frank J. Laszlo" <laszlof@freebsd.org>, freebsd-ports@freebsd.org Subject: Re: determining what ports directly depend on X Message-ID: <20080105122637.0ee2b1c6@deskjail> In-Reply-To: <bef9a7920801031911i3116ba17n7ac120f33b856145@mail.gmail.com> References: <bef9a7920801031842m5ea28cdrcf312380cb7dadbd@mail.gmail.com> <477DA1F9.9080407@FreeBSD.org> <bef9a7920801031911i3116ba17n7ac120f33b856145@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Quoting "Aryeh Friedman" <aryeh.friedman@gmail.com> (Thu, 3 Jan 2008 22:11:19 -0500): > On 1/3/08, Frank J. Laszlo <laszlof@freebsd.org> wrote: > > Aryeh Friedman wrote: > > > I need to determine which ports depend directly (i.e. they have it > > > listed as a B/RDEPS). The specfic task I am working on right now > > > (but this will need to be more general later) is attempting to find > > > all the direct childern of libtool15 > > > > > A quick hack would be > > > > grep libtool-1.5 /usr/ports/INDEX-6| awk -F"|" {'print $2'} > > > Doesn't quite work because it appears index is equiv to "make missing" > which includes indirect parents. For example x11-wm/compwiz does not > reference libool-1.5 except in a USE= line. This should work to get only the direct dependencies in INDEX: cd /usr/ports export EXPLICIT_PACKAGE_DEPENDS=yes make index Bye, Alexander. -- BOFH excuse #62: need to wrap system in aluminum foil to fix problem http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080105122637.0ee2b1c6>