Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Mar 2013 19:50:05 +0000 (UTC)
From:      naddy@mips.inka.de (Christian Weisgerber)
To:        freebsd-ports@freebsd.org
Subject:   Re: Using RUN_DEPENDS := ${BUILD_DEPENDS} is now a bug
Message-ID:  <kh2ttd$10ht$1@lorvorc.mips.inka.de>
References:  <CAF6rxgmH9QJ2qYPT17W=nVUU2pYTfGmBBBwMDiQPA8SAj1tJuw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Eitan Adler <lists@eitanadler.com> wrote:

> Some time ago ("2012-01-21 17:40:15 UTC") I committed a change which
> converted all uses of
> 
> BUILD_DEPENDS= ${RUN_DEPENDS}
> to
> BUILD_DEPENDS:= ${RUN_DEPENDS}

I don't understand this.  RUN_DEPENDS=${BUILD_DEPENDS} is buggy,
because you can end up with gmake etc. in RUN_DEPENDS.
But what's the problem with BUILD_DEPENDS=${RUN_DEPENDS}?

> Ports should *not* assume that BUILD_DEPENDS is clear when initiated
> and ports should explicitly duplicate RUN_DEPENDS.
> 
> This also reduces the chance of making an error should BUILD_DEPENDS
> change to be inconsistent with BUILD_DEPENDS.

Confusing.

-- 
Christian "naddy" Weisgerber                          naddy@mips.inka.de




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?kh2ttd$10ht$1>