Skip site navigation (1)Skip section navigation (2)
Date:      16 Feb 2003 23:07:01 -0500
From:      Joe Marcus Clarke <marcus@marcuscom.com>
To:        "Mezz bsdforums.org" <reigncracks@hotmail.com>
Cc:        FreeBSD GNOME Users <gnome@freebsd.org>
Subject:   Re: Here's Lumiere 0.4 ports..
Message-ID:  <1045454820.974.43.camel@gyros>
In-Reply-To: <F29wNgP1f3L0zGSOpD00000e750@hotmail.com>
References:  <F29wNgP1f3L0zGSOpD00000e750@hotmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-OfpcW6EL/Vr9cSraIMWM
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Sun, 2003-02-16 at 22:50, Mezz bsdforums.org wrote:
> >On Sun, 2003-02-16 at 22:15, Mezz bsdforums.org wrote:
> > > ><snip>
> > > >
> > > >I just installed lumiere with the added BUILD_DEPENDS, and it instal=
led
> > > >just fine.  configure found mplayer in /usr/local/bin.  Try unstalli=
ng
> > > >lumiere and mplayer, and see if you encounter the same problem.
> > >
> > > Yeah, BUILD_DEPENDS works fine, so delete RUN_DEPENDS, correct? With =
or
> > > without the RUN_DEPENDS, it will work perfect when we use BUILD_DEPEN=
DS
> > > instead. Just wondering, do you understand or know what's wrong with=20
> >MPlayer
> > > under RUN_DEPENDS?
> >
> >You need to keep both.  I didn't see a problem with RUN_DEPENDS.  See:
> >
> >=3D=3D=3D>  Installing for lumiere-0.4
> >=3D=3D=3D>   lumiere-0.4 depends on executable: mplayer - found
> >=3D=3D=3D>   lumiere-0.4 depends on file: /usr/X11R6/share/gnome/.keep_m=
e -
> >found
>=20
> I think, you misunderstand, I misread or my English grammar isn't clear. =
:-)=20
> I only see the problem with the RUN_DEPENDS when it has no mplayer in=20
> BUILD_DEPENDS. So, why do we need two mplayer in the two different=20
> *_DEPENDS?
>=20
> -With mplayer in BUILD_DEPENDS, so either with or without RUN_DEPENDS. It=
=20
> does the same thing, so I don't understand why we still need the=20
> RUN_DEPENDS?
>=20
> -Without mplayer in BUILD_DEPENDS, so without have MPlayer installed and=20
> RUN_DEPENDS doesn't work at all.
>=20
> I am just trying to understand, because I fail to see the point of still=20
> need RUN_DEPENDS.

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.

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.

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.

Joe

>=20
> Thanks for being patient.. :-)
>=20
> Cheers,
> Mezz
>=20
> _________________________________________________________________
> MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. =20
> http://join.msn.com/?page=3Dfeatures/virus
--=20
PGP Key : http://www.marcuscom.com/pgp.asc



--=-OfpcW6EL/Vr9cSraIMWM
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQA+UF/kb2iPiv4Uz4cRAsKHAJ4rpw0dzt2I+8Y4G+gJeKeOYSaxsACcDP2e
Px0SmJShm1WMnc/dMrQFo7E=
=XTDW
-----END PGP SIGNATURE-----

--=-OfpcW6EL/Vr9cSraIMWM--


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?1045454820.974.43.camel>