From owner-freebsd-java@FreeBSD.ORG Thu Apr 22 11:46:07 2004 Return-Path: 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 BACC616A4D2 for ; Thu, 22 Apr 2004 11:46:07 -0700 (PDT) Received: from smtp14.wxs.nl (smtp14.wxs.nl [195.121.6.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id 81F6D43D2F for ; Thu, 22 Apr 2004 11:46:05 -0700 (PDT) (envelope-from ronald-freebsd6@klop.yi.org) Received: from ronald.echteman.nl (ip51cdc5d2.adsl-surfen.hetnet.nl [81.205.197.210]) by smtp14.wxs.nl (iPlanet Messaging Server 5.2 HotFix 1.25 (built Mar 3 2004)) with SMTP id <0HWL00CBV5GS93@smtp14.wxs.nl> for freebsd-java@freebsd.org; Thu, 22 Apr 2004 20:46:04 +0200 (CEST) Received: (qmail 13616 invoked from network); Thu, 22 Apr 2004 18:46:03 +0000 Received: from unknown (HELO laptop.thuis.klop.ws) (192.168.1.4) by ronald.echteman.nl with SMTP; Thu, 22 Apr 2004 18:46:03 +0000 Received: (qmail 2918 invoked from network); Thu, 22 Apr 2004 18:46:02 +0000 Received: from unknown (HELO henk.thuis.klop.ws) (192.168.0.1) by 192.168.0.13 with SMTP; Thu, 22 Apr 2004 18:46:02 +0000 Received: (qmail 31002 invoked from network); Thu, 22 Apr 2004 18:46:01 +0000 Received: from localhost.thuis.klop.ws (HELO henk.thuis.klop.ws) (127.0.0.1) by localhost.thuis.klop.ws with SMTP; Thu, 22 Apr 2004 18:46:01 +0000 Date: Thu, 22 Apr 2004 20:46:00 +0200 From: Ronald Klop In-reply-to: <20040422175758.GA30200@arabica.esil.univ-mrs.fr> To: Herve Quiroz , freebsd-java@freebsd.org Message-id: MIME-version: 1.0 Content-type: text/plain; format=flowed; charset=iso-8859-1 Content-transfer-encoding: 7BIT User-Agent: Opera7.23/FreeBSD M2 build 518 References: <20040422175758.GA30200@arabica.esil.univ-mrs.fr> Subject: Re: updating my port to bsd.java.mk options X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Apr 2004 18:46:08 -0000 On Thu, 22 Apr 2004 19:57:58 +0200, Herve Quiroz wrote: > Ronald, > > Good initiative indeed! :) Thanks. > NEED_JAVAC has been deprecated as well. Now JAVA_BUILD (and respectively > JAVA_RUN) allows two values: 'jdk' or 'jre'. When JAVA_BUILD=jdk, it > means that a compiler is needed, which is the same as setting > NEED_JAVAC=yes as before. > > When nothing is set (neither JAVA_BUILD nor JAVA_RUN), bsd.java.mk > assumes the folloing default values: > > JAVA_BUILD= jdk > JAVA_RUN= jre Maybe this can be documented in bsd.java.mk. (Or is it already documented somewhere?) > So your patch is correct is this regard. You just need to remove the > NEED_JAVAC statement. I tested it on my box and it seems to work. I said > "seems" because I have a build error. I've attached the log just in > case. I haven't got enough time to debug it myself at the moment so if > you know the problem, please tell me (I'll investigate myself in a few > days otherwise). I see the same problem. It's happens when NEED_JAVAC is removed. I'll investigate this later, because I have a basketball game to win in half an hour. Ronald. -- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/