From owner-freebsd-java@FreeBSD.ORG Fri May 7 01:20:24 2004 Return-Path: Delivered-To: freebsd-java@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 43A6216A4CE for ; Fri, 7 May 2004 01:20:24 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 17B9543D45 for ; Fri, 7 May 2004 01:20:24 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i478KNaS078496 for ; Fri, 7 May 2004 01:20:23 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i478KN92078495; Fri, 7 May 2004 01:20:23 -0700 (PDT) (envelope-from gnats) Date: Fri, 7 May 2004 01:20:23 -0700 (PDT) Message-Id: <200405070820.i478KN92078495@freefall.freebsd.org> To: freebsd-java@FreeBSD.org From: Herve Quiroz Subject: Re: java/66349: [PATCH] net/javadc: fix build on bento X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Herve Quiroz List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 May 2004 08:20:24 -0000 The following reply was made to PR java/66349; it has been noted by GNATS. From: Herve Quiroz To: Yuri Khotyaintsev Cc: FreeBSD-gnats-submit@freebsd.org, glewis@freebsd.org, znerd@freebsd.org Subject: Re: java/66349: [PATCH] net/javadc: fix build on bento Date: Fri, 7 May 2004 10:15:08 +0200 Yuri, I'm not sure I get your point here... On Fri, May 07, 2004 at 09:47:10AM +0200, Yuri Khotyaintsev wrote: > Herve Quiroz wrote: > > >- added '-bootclasspath ${JAVA_CLASSES}' to the command-line for JAVAC when > > jikes is used as a substitute for javac. > > What is the reason for not putting this into bsd.java.mk? Well actually I put it in bsd.java.mk. This statement is from the ChangeLog for bsd.java.mk > If jikes is installed it will be used to compile a port. And then for a > port not to fail it should ether set USE_JIKES=no or add -bootclasspath. When nothing is asked by the port, jikes is used if present. This may cause problems as jikes requires -bootclasspath to be set to the location of the standard Java API classes. Provided this is not needed when using the former javac command, and as porter won't know in advance if jikes will be used or not (unless the port explicitely requires or forbids its use by setting USE_JIKES), he won't be able to set -bootclasspath accordingly. That's why I had to add these arguments when "jikes is used [transparently] as a substitute for javac"... Is this what you were asking for or did I misunderstood you ? Herve