Date: Thu, 3 Jan 2008 22:30:21 -0500 From: "Aryeh Friedman" <aryeh.friedman@gmail.com> To: "Frank J. Laszlo" <laszlof@freebsd.org> Cc: freebsd-ports@freebsd.org Subject: Re: determining what ports directly depend on X Message-ID: <bef9a7920801031930n1c61731i46294db62511878f@mail.gmail.com> In-Reply-To: <477DA702.4040106@FreeBSD.org> References: <bef9a7920801031842m5ea28cdrcf312380cb7dadbd@mail.gmail.com> <477DA1F9.9080407@FreeBSD.org> <bef9a7920801031911i3116ba17n7ac120f33b856145@mail.gmail.com> <477DA702.4040106@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 1/3/08, Frank J. Laszlo <laszlof@freebsd.org> wrote: > Aryeh Friedman wrote: > > 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. > > > > Most ports should be setup to use "USE_AUTOTOOLS", but obviously there > are a few strays. > > Anything that uses USE_AUTOTOOLS should have LIBTOOL_DEPENDS defined. > You could check this. to collect the strays, grepping through for > ^.*DEPENDS=.*libtool15" should pick them up. > > Hope this helps. For various reasons I deleted /usr/ports (in prep to repopulate it from a local cvs repo) so can't test this right now... but the orginal question is due to a PR I will be filing as soon I have a working browser on the machine in question... the PR is that if you install libtool-1.5 under 8-current (amd64 only???) it will incorrectly ID the installed OS and give errors about "freebsd-" not being defined as a platform type... the hand fix is to find the line that has that and add -elf to it but the root cause is something about 8-current makes it so it is ID'ed wrong.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bef9a7920801031930n1c61731i46294db62511878f>