From owner-freebsd-ports@FreeBSD.ORG Thu Sep 15 12:54:26 2005 Return-Path: X-Original-To: ports@freebsd.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 76FEC16A41F for ; Thu, 15 Sep 2005 12:54:26 +0000 (GMT) (envelope-from lists@mcdermottroe.com) Received: from bigben2.bytemark.co.uk (bigben2.bytemark.co.uk [80.68.81.132]) by mx1.FreeBSD.org (Postfix) with ESMTP id 16AE543D45 for ; Thu, 15 Sep 2005 12:54:26 +0000 (GMT) (envelope-from lists@mcdermottroe.com) Received: from edgespace.vm.bytemark.co.uk ([80.68.90.21]) by bigben2.bytemark.co.uk with esmtp (Exim 4.52) id 1EFtFx-0007pO-CW; Thu, 15 Sep 2005 13:54:25 +0100 Received: from localhost ([127.0.0.1] helo=platinum.office.edgespace.net) by edgespace.vm.bytemark.co.uk with esmtp (Exim 3.35 #1 (Debian)) id 1EFtOZ-0000fJ-00; Thu, 15 Sep 2005 14:03:19 +0100 From: Conor McDermottroe To: Eric Schuele In-Reply-To: <4328CFD3.3000104@computer.org> References: <1126727985.776.8.camel@platinum.office.edgespace.net> <4328CFD3.3000104@computer.org> Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: Thu, 15 Sep 2005 13:54:16 +0100 Message-Id: <1126788856.1011.23.camel@platinum.office.edgespace.net> Mime-Version: 1.0 X-Mailer: Evolution 2.2.3 FreeBSD GNOME Team Port Cc: ports@freebsd.org Subject: Re: How to find package dependencies from the package 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: Thu, 15 Sep 2005 12:54:26 -0000 On Wed, 2005-09-14 at 20:35 -0500, Eric Schuele wrote: > Conor McDermottroe wrote: > > Hi, > > > > I have a terrible feeling that this is a very stupid question, but here > > goes: > > > > How do I programatically find out the list of packages that a given > > package depends on? > > # cd /usr/ports/foo/bar > # make pretty-print-run-depends-list > # make pretty-print-build-depends-list > > Would that do what you need? Or must you derive this from the *package*? I'm doing it from the package, as the machine that will have the packages installed does not have enough space for the ports collection (it's on CF) and the machine I have with the ports collection on it is a different architecture (amd64). Thanks for the suggestion though. :-) -C