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>

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

[-- Attachment #1 --]
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 installed
> > > >just fine.  configure found mplayer in /usr/local/bin.  Try unstalling
> > > >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_DEPENDS
> > > instead. Just wondering, do you understand or know what's wrong with 
> >MPlayer
> > > under RUN_DEPENDS?
> >
> >You need to keep both.  I didn't see a problem with RUN_DEPENDS.  See:
> >
> >===>  Installing for lumiere-0.4
> >===>   lumiere-0.4 depends on executable: mplayer - found
> >===>   lumiere-0.4 depends on file: /usr/X11R6/share/gnome/.keep_me -
> >found
> 
> I think, you misunderstand, I misread or my English grammar isn't clear. :-) 
> I only see the problem with the RUN_DEPENDS when it has no mplayer in 
> BUILD_DEPENDS. So, why do we need two mplayer in the two different 
> *_DEPENDS?
> 
> -With mplayer in BUILD_DEPENDS, so either with or without RUN_DEPENDS. It 
> does the same thing, so I don't understand why we still need the 
> RUN_DEPENDS?
> 
> -Without mplayer in BUILD_DEPENDS, so without have MPlayer installed and 
> RUN_DEPENDS doesn't work at all.
> 
> I am just trying to understand, because I fail to see the point of still 
> 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

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



[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (FreeBSD)

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

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