From owner-freebsd-ports@FreeBSD.ORG Fri Jan 4 03:11:24 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 019E116A468 for ; Fri, 4 Jan 2008 03:11:24 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from mu-out-0910.google.com (mu-out-0910.google.com [209.85.134.186]) by mx1.freebsd.org (Postfix) with ESMTP id 7DE0013C447 for ; Fri, 4 Jan 2008 03:11:23 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: by mu-out-0910.google.com with SMTP id w9so3968010mue.6 for ; Thu, 03 Jan 2008 19:11:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=JzdCa0MNdD9+50DB4VR05xw//Gu0Ynf8+i9OLJOV+Xk=; b=Z9pN/suRIn8roJINtPprsDnOJPfg93C+74WjTC2QHI5I97zr8aEcp1ybb1OyDTPIMTLCZhGekgH6Udreoc7osnAbzyAHqnjS64iuni0BDEbQgZ938pe2n3Zfn3fqafzeL07OuaAfopQH5tDdDAFVCR1kXfhDAuKPHoSsRaccc4c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=u6ZlayQUuCAoz2NhbVlO34WtdxlD6pWshiDxNRWUw2Ri/rfgHKlaEZZKFVRQBY3pW5l/jOxHEpQnkB7D0l1O4v7Wnd1b32KC3BJGTNii89q7XMpSvW+vq/D5RL/Yr+3vbcTXe0hihmYccgcLAYo0wZ2wYulaQxxaSTYy+CaLj8g= Received: by 10.64.28.3 with SMTP id b3mr606786qbb.2.1199416279676; Thu, 03 Jan 2008 19:11:19 -0800 (PST) Received: by 10.65.105.13 with HTTP; Thu, 3 Jan 2008 19:11:19 -0800 (PST) Message-ID: Date: Thu, 3 Jan 2008 22:11:19 -0500 From: "Aryeh Friedman" To: "Frank J. Laszlo" In-Reply-To: <477DA1F9.9080407@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <477DA1F9.9080407@FreeBSD.org> Cc: freebsd-ports@freebsd.org Subject: Re: determining what ports directly depend on X X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jan 2008 03:11:24 -0000 On 1/3/08, Frank J. Laszlo 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.