DEPENDS -- is it time to remove it?

Pav Lucistnik pav at FreeBSD.org
Tue Dec 11 11:01:55 PST 2007


> On Fri, Jan 05, 2007 at 08:28:10PM +0000, RW wrote:

Blast from the past :)

> So now I have a need for a metaport to depend on another metaport.
> Without DEPENDS, how do I accomplish that.  Using RUN_DEPENDS with 
> ${NONEXISTENT} seems not appropriate here, the Porters Handbook says
> that this should only be used to pull in source, not to install another
> metaport (unless it is already installed) and the effect of using
> something like RUN_DEPENDS=${NONEXISTENT}:${PORTSDIR}/lang/php5-extensions
> causes make install to try installing php5-extensions even when this port
> is already installed.

Try

RUN_DEPENDS=	some-metaport>=0:${PORTSDIR}/dir/metaport

Documented at
http://www.freebsd.org/doc/en/books/porters-handbook/makefile-depend.html#AEN2283

-- 
Pav Lucistnik <pav at oook.cz>
              <pav at FreeBSD.org>
It's ten o'clock; do you know where your processes are?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: Toto je =?UTF-8?Q?digit=C3=A1ln=C4=9B?=
	=?ISO-8859-1?Q?_podepsan=E1?= =?UTF-8?Q?_=C4=8D=C3=A1st?=
	=?ISO-8859-1?Q?_zpr=E1vy?=
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20071211/38681c07/attachment.pgp


More information about the freebsd-ports mailing list