environment variables per port
wxs at FreeBSD.org
Tue Apr 24 10:12:18 EDT 2012
On Tue, Apr 24, 2012 at 12:56:08AM +0400, Dmitry Banschikov wrote:
> On 04/24/2012 12:53 AM, Dmitry Banschikov wrote:
> > Hello.
> > I need to setup environment variables per individual port. In
> > particular, I need this feature for building only one package with
> > variable WITH_DEBUG set to "yes". Documentation says , that
> > environment variables can be enabled global, for build, jail or
> > portstree, but no mention about using variables on per package basis. Is
> > this functional unsupported? Or, there is a more convenient way for
> > doing this?
> Oh, forgot to post a link to documentation:
> 1. http://tinderbox.marcuscom.com/README/x679.html
It mentions OPTIONS only but I can't see any reason why you can't set
WITH_DEBUG in there. It probably just gets sourced in to the environment
as normal (I haven't checked the code to back this up).
More information about the tinderbox-list