From owner-freebsd-java@FreeBSD.ORG Mon Oct 3 15:31:15 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 5591A16A41F for ; Mon, 3 Oct 2005 15:31:15 +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 BD06143D45 for ; Mon, 3 Oct 2005 15:31:14 +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 j93FUrRf052630; Mon, 3 Oct 2005 09:30:53 -0600 (MDT) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.13.3/8.13.3/Submit) id j93FUqTA052629; Mon, 3 Oct 2005 09:30:52 -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 09:30:52 -0600 From: Greg Lewis To: "Mikhail T." Message-ID: <20051003153052.GA52601@misty.eyesbeyond.com> References: <200510030230.j932Uwbo005425@blue.virtual-estates.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200510030230.j932Uwbo005425@blue.virtual-estates.net> 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 15:31:15 -0000 On Sun, Oct 02, 2005 at 10:30:58PM -0400, Mikhail T. wrote: > I have the following issues with the current bsd.java.mk and > thereabouts: > > 1) JAVA_HOME -- `make -V JAVA_HOME' prints the expected > value, but trying to, say, add JAVA_HOME="${JAVA_HOME}" > to MAKE_ENV results in an empty string being added... > > 2) JAVALIBDIR and JAVAJARDIR seem to be the same -- which > one should be used to look for other ports' JARs and > which to install my own? You should look in JAVALIBDIR and install in JAVAJARDIR. > 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. > 4) How to pass javac options to ant (when relying on USE_ANT=yes)? > > 5) On amd64 (and others, I guess), the only native JDK is 1.5. So, > when a port declares something like 1.3+ or 1.4+, bsd.java.mk > should build 1.5 on the platform, should not it? Yes. But it probably doesn't with the current logic which prefers 1.4 for the moment. I'll pass on the other two questions for the moment. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org