Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 04 Mar 2013 21:10:36 +0100
From:      Matthias Andree <mandree@FreeBSD.org>
To:        freebsd-ports@freebsd.org
Subject:   Re: Using RUN_DEPENDS := ${BUILD_DEPENDS} is now a bug
Message-ID:  <5134FFBC.1000402@FreeBSD.org>
In-Reply-To: <CADLo8388f-W-T4nMr6RzhrZmJZwFp5Nig0ouztS%2B9Q4NnFXEaw@mail.gmail.com>
References:  <CAF6rxgmH9QJ2qYPT17W=nVUU2pYTfGmBBBwMDiQPA8SAj1tJuw@mail.gmail.com> <CADLo8388f-W-T4nMr6RzhrZmJZwFp5Nig0ouztS%2B9Q4NnFXEaw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Chris Rees wrote, whilst quoting Eitan Adler:

>> Ports should *not* assume that BUILD_DEPENDS is clear when initiated
>> and ports should explicitly duplicate RUN_DEPENDS.
> 
> Why not?  When is ccache added to BUILD_DEPENDS?  I guess I just don't see
> how this can happen.

/etc/make.conf can make this and other issues happen, but BUILD_DEPENDS
should be added to in the POST phase of bsd.port.mk, then we should be
safe.  If not, then I'd need Eitan to elaborate.


This can become rather awkward if the port uses BSD make, that then
exposes re-reading of /etc/make.conf and user settings can nuke port
settings and cause build failures that are induced locally, and are hard
to track down. Related issue:

https://wiki.freebsd.org/MatthiasAndree/LuaLessonsLearnt

I'd say copying from RUN_DEPENDS to BUILD_DEPENDS must continue to be
supported, else you'll upset me and quite a few other maintainers.

If you are saying "use +=", then someone will have to make sure we don't
exponentially duplicate the contents of the incriminated variables.



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