From owner-freebsd-ports Sun Apr 30 9:16:53 2000 Delivered-To: freebsd-ports@freebsd.org Received: from ns1.sunesi.net (ns1.sunesi.net [196.15.192.194]) by hub.freebsd.org (Postfix) with ESMTP id F11DE37B611; Sun, 30 Apr 2000 09:16:46 -0700 (PDT) (envelope-from nbm@sunesi.net) Received: from nbm by ns1.sunesi.net with local (Exim 3.03 #1) id 12lwOi-000Etd-00; Sun, 30 Apr 2000 18:16:44 +0200 Date: Sun, 30 Apr 2000 18:16:44 +0200 From: Neil Blakey-Milner To: Shigeyuki Fukushima 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> References: <20000430161123149.IASO.904.t-mta2.odn.ne.jp@mta2.odn.ne.jp> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i 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 +0900 Organization: Sunesi Clinical Systems X-Operating-System: FreeBSD 3.3-RELEASE i386 X-URL: http://rucus.ru.ac.za/~nbm/ Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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