Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Mar 2001 17:41:38 +0300
From:      Peter Pentchev <roam@orbitel.bg>
To:        Nils M Holm <nmh@t3x.org>
Cc:        ports@freebsd.org
Subject:   Re: Q: Environment variables and dependencies
Message-ID:  <20010328174138.N5524@ringworld.oblivion.bg>
In-Reply-To: <Pine.BSF.3.96.1010328162756.1801A-100000@Freefall.UUCP>; from nmh@freenet.de on Wed, Mar 28, 2001 at 04:34:04PM %2B0000
References:  <Pine.BSF.3.96.1010328162756.1801A-100000@Freefall.UUCP>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Mar 28, 2001 at 04:34:04PM +0000, Nils M Holm wrote:
> 
> I have a port A which requires another port (B) to build. B, in turn,
> requires an environment variable to work. Hence my question:
> 
> Is there a clean way to setup an environment variable in a port
> Makefile before running the 'all' target?

In the port Makefile:

MAKE_ENV+=	VARNAME="value"

G'luck,
Peter

-- 
Do you think anybody has ever had *precisely this thought* before?

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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