From owner-freebsd-java@FreeBSD.ORG Mon Oct 3 18:22:09 2005 Return-Path: X-Original-To: java@freebsd.org Delivered-To: freebsd-java@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B6E1716A41F for ; Mon, 3 Oct 2005 18:22:09 +0000 (GMT) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (glewis.dsl.xmission.com [166.70.56.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1FBD443D46 for ; Mon, 3 Oct 2005 18:22:08 +0000 (GMT) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) by misty.eyesbeyond.com (8.13.3/8.13.3) with ESMTP id j93ILuFM054130; Mon, 3 Oct 2005 12:21:57 -0600 (MDT) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.13.3/8.13.3/Submit) id j93ILtpr054129; Mon, 3 Oct 2005 12:21:55 -0600 (MDT) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Mon, 3 Oct 2005 12:21:55 -0600 From: Greg Lewis To: Mikhail Teterin Message-ID: <20051003182155.GB54035@misty.eyesbeyond.com> References: <200510030230.j932Uwbo005425@blue.virtual-estates.net> <20051003153052.GA52601@misty.eyesbeyond.com> <200510031241.53361.mi+mx@aldan.algebra.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200510031241.53361.mi+mx@aldan.algebra.com> User-Agent: Mutt/1.4.2.1i Cc: java@freebsd.org Subject: Re: some questions about Java ports X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Oct 2005 18:22:09 -0000 On Mon, Oct 03, 2005 at 12:41:52PM -0400, Mikhail Teterin wrote: > > > ??????3) Is "USE_JAVA=version" legitimate, or is one supposed to > > > ?????? ? use the redundant "USE_JAVA=yes" and "JAVA_VERSION=version"? > > > > The first is legitimate but deprecated, the second is preferred. > > Redundancy wins :-( > > Before going to sleep, a programmer puts a glass of water next to his bed -- > in case he wakes up thirsty. And an empty glass -- in case he does not... I think you're looking at this in a very blinkered fashion. Prior to the current bsd.java.mk, the only thing that was configurable was the version, so it made some sense to be able to encode it in USE_JAVA. Now there are other selection criteria (native or not, vendor), so it doesn't make sense to arbitrarily pick one selection criterion (version) and mix it with the simple yes/no of whether the port uses Java or not. Despite that, the old way of doing things does work, you'll just get hate mail from Herve and I if you commit a new port that uses it ;-). -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org