Using RUN_DEPENDS := ${BUILD_DEPENDS} is now a bug

Christian Weisgerber naddy at mips.inka.de
Mon Mar 4 19:50:15 UTC 2013


Eitan Adler <lists at 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 at mips.inka.de



More information about the freebsd-ports mailing list