Newbie creating a port: tracing dependencies

Anton Berezin tobez at tobez.org
Mon Dec 4 12:20:02 PST 2006


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


More information about the freebsd-ports mailing list