From owner-freebsd-java@FreeBSD.ORG Tue Jan 11 14:36:14 2005 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 444C716A4CE for ; Tue, 11 Jan 2005 14:36:14 +0000 (GMT) Received: from arabica.esil.univ-mrs.fr (arabica.esil.univ-mrs.fr [139.124.41.108]) by mx1.FreeBSD.org (Postfix) with ESMTP id 931FD43D53 for ; Tue, 11 Jan 2005 14:36:12 +0000 (GMT) (envelope-from herve.quiroz@esil.univ-mrs.fr) Received: from arabica.esil.univ-mrs.fr (localhost.esil.univ-mrs.fr [127.0.0.1])j0BEaAJa068279; Tue, 11 Jan 2005 15:36:10 +0100 (CET) (envelope-from herve.quiroz@esil.univ-mrs.fr) Received: (from rv@localhost) by arabica.esil.univ-mrs.fr (8.13.1/8.13.1/Submit) id j0BEa92U068278; Tue, 11 Jan 2005 15:36:10 +0100 (CET) (envelope-from herve.quiroz@esil.univ-mrs.fr) X-Authentication-Warning: arabica.esil.univ-mrs.fr: rv set sender to herve.quiroz@esil.univ-mrs.fr using -f Date: Tue, 11 Jan 2005 15:36:09 +0100 From: Herve Quiroz To: Yuri Khotyaintsev Message-ID: <20050111143609.GA68083@arabica.esil.univ-mrs.fr> Mail-Followup-To: Yuri Khotyaintsev , freebsd-java@freebsd.org References: <200501111458.19485.yuri@irfu.se> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200501111458.19485.yuri@irfu.se> User-Agent: Mutt/1.4.2.1i cc: freebsd-java@freebsd.org Subject: Re: bsd.java.mk question 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: Tue, 11 Jan 2005 14:36:14 -0000 On Tue, Jan 11, 2005 at 02:58:17PM +0100, Yuri Khotyaintsev wrote: > Hej! > > I encountered the following problem with bsd.java.mk: > > When I put JAVA_BUILD=yes in the Makefile, I have JAVAC undefined. > In order to set JAVAC, I need to put JAVA_BUILD=jdk. > > I would expect JAVA_BUILD=yes to set JAVAC . If JAVA_BUILD=jdk is the > intended behavior, this must be explained in the description part of > bsd.java.mk. From the current description it looks like JAVA_BUILD can be set > to yes|no. That's my fault, I believe. JDK/JRE differenciation is a planned feature. I just didn't had the time to implement it yet. The original proposal mention this behaviour [1] but then I wrote some erroneous documentation. I will change the documentation in bsd.java.mk header and in the Porter's handbook as well to reflect this. BTW I think I have found a simple way to implement JDK/JRE differenciation, so I'll give it a try in the near future... Thanks for reporting that. Herve [1] http://www.esil.univ-mrs.fr/~hquiroz/freebsd/bsd.java.mk-2.0.html