Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Feb 2003 23:33:53 -0500
From:      "Mezz bsdforums.org" <reigncracks@hotmail.com>
To:        gnome@freebsd.org
Subject:   Re: Here's Lumiere 0.4 ports..
Message-ID:  <F15Z54yEpG9I8kFIts00001fb31@hotmail.com>

next in thread | raw e-mail | index | archive | help
> ><snip>
>
>I think you misunderstand what BUILD_DEPENDS and RUN_DEPENDS do (or when
>they're evaluated).  BUILD_DEPENDS is calculated a build-time, and it
>reflects dependencies that are required for the port to build.  Once the
>port is built, those dependencies can be safely removed.  If the port is
>installed as a package, those dependencies will not be installed at all.
>
>RUN_DEPENDS is calculated at install-time.  Packages in the RUN_DEPENDS
>_must_ be installed in order for the installing port to run.  If those
>packages are removed, the port will be in a broken state.  If the port
>is being installed from a package, then everything in RUN_DEPENDS is
>installed before the package.

Oh, indeed that I have misunderstood! I understand it very clearly why we 
need the RUN_DEPENDS now. Somehow, I think porter's handbook in 4.6 chapter 
still isn't clear or it's just me?

>LIB_DEPENDS is evaluated at build and install-time.  LIB_DEPENDS
>enumerate libraries needed for the port to build and run.  Note,
>LIB_DEPENDS can only contain _libraries_ that can be found in the
>ldconfig -r output.

Yeah, I understand this one first related with depends than other.

>Therefore, if a port requires something both at build-time and at
>run-time, you have to specify in both BUILD and RUN_DEPENDS (unless it
>has a shared library component, then it can be specified in
>LIB_DEPENDS).
>
>Hope that clears it up.

Yep, it's clear as crystal, thanks! /me owes Joe some more beers!

Cheers,
Mezz

_________________________________________________________________
Tired of spam? Get advanced junk mail protection with MSN 8. 
http://join.msn.com/?page=features/junkmail


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-gnome" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F15Z54yEpG9I8kFIts00001fb31>