Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Apr 2000 18:16:44 +0200
From:      Neil Blakey-Milner <nbm@mithrandr.moria.org>
To:        Shigeyuki Fukushima <shige@FreeBSD.org>
Cc:        ports@freebsd.org, asami@cs.berkeley.edu
Subject:   Re: Proposal for USE_* directives in Mk/bsd.port.mk
Message-ID:  <20000430181644.A56858@mithrandr.moria.org>
In-Reply-To: <20000430161123149.IASO.904.t-mta2.odn.ne.jp@mta2.odn.ne.jp>; from shige@FreeBSD.org on Mon, May 01, 2000 at 01:11:12AM %2B0900
References:  <20000430161123149.IASO.904.t-mta2.odn.ne.jp@mta2.odn.ne.jp>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon 2000-05-01 (01:11), Shigeyuki Fukushima wrote:
> Hello.
> 
> I have a proposal for USE_* directives.
> Now, in -current's Mk/bsd.port.mk, once when USE_* directives
> are declared, functions of USE_* are enabled in spite of 
> value of USE_*, YES or NO.
> 
> But, I think functions of USE_* must be disabled when USE_*=NO.
> That is, we should select, for example,

This'll break:

make USE_GMAKE=1

or

make -DUSE_GMAKE

for testing and stuff.

If you must do it like this, make it a test like:

.if defined(USE_GMAKE) && USE_GMAKE != "NO"

Neil
-- 
Neil Blakey-Milner
Hacker In Chief, Sunesi Clinical Systems
nbm@mithrandr.moria.org


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?20000430181644.A56858>