From owner-freebsd-ports@FreeBSD.ORG Mon Dec 4 20:20:02 2006 Return-Path: X-Original-To: ports@freebsd.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9B6C816A412 for ; Mon, 4 Dec 2006 20:20:02 +0000 (UTC) (envelope-from tobez@tobez.org) Received: from heechee.tobez.org (heechee.tobez.org [194.255.56.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id BD7D243CB2 for ; Mon, 4 Dec 2006 20:19:26 +0000 (GMT) (envelope-from tobez@tobez.org) Received: by heechee.tobez.org (Postfix, from userid 1001) id 78AF812542A; Mon, 4 Dec 2006 21:17:59 +0100 (CET) Date: Mon, 4 Dec 2006 21:17:59 +0100 From: Anton Berezin To: Erik Norgaard Message-ID: <20061204201759.GA76749@heechee.tobez.org> Mail-Followup-To: Anton Berezin , Erik Norgaard , ports@freebsd.org References: <45747E97.6040505@locolomo.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <45747E97.6040505@locolomo.org> User-Agent: Mutt/1.4.2.2i X-Powered-By: FreeBSD http://www.freebsd.org/ Cc: ports@freebsd.org Subject: Re: Newbie creating a port: tracing dependencies 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: Mon, 04 Dec 2006 20:20:02 -0000 On Mon, Dec 04, 2006 at 09:01:27PM +0100, Erik Norgaard wrote: > Ok, source compiles fine although I haven't tested it also works. But: I > created this port on my working laptop which has a bunch of other apps. > > So I was wondering, how do I figure out direct dependencies? And how do > I figure out whether these should be LIB_DEPENDS, BUILD_DEPENDS or > RUN_DEPENDS or some other? > > Is there a trick to trace the dependencies, and figure out which port > provides that dependency? - except for building on a clean machine and > install stuff until things work? I would suggest a clean jail on the same machine. It is easy and fast to set up such a configuration (and keep it clean for the future porting work, as well). \Anton. -- We're going for 'working' here. 'clean' is for people with skills... -- Flemming Jacobsen