From owner-freebsd-java Tue Apr 16 16:18:53 2002 Delivered-To: freebsd-java@freebsd.org Received: from yello.shallow.net (yello.shallow.net [203.18.243.120]) by hub.freebsd.org (Postfix) with ESMTP id 33C5A37B405; Tue, 16 Apr 2002 16:18:51 -0700 (PDT) Received: by yello.shallow.net (Postfix, from userid 1001) id 227652A6D; Wed, 17 Apr 2002 09:18:44 +1000 (EST) Date: Wed, 17 Apr 2002 09:18:44 +1000 From: Joshua Goodall To: Ernst de Haan Cc: zach@neurosoft.org, lioux@FreeBSD.org, java@FreeBSD.org Subject: Re: Using NEED_JAVAC in ports Message-ID: <20020416231843.GB60589@roughtrade.net> References: <200204161951.VAA29489@smtp.hccnet.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200204161951.VAA29489@smtp.hccnet.nl> User-Agent: Mutt/1.3.28i Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Tue, Apr 16, 2002 at 09:50:58PM +0200, Ernst de Haan wrote: > Is it okay if I make a small change to the Makefile of these ports? I would > like to add NEED_JAVAC=YES below the USE_JAVA=YES line. This should not > affect the working of the port. Go ahead; the extra knob needs well indicated. I'll test after the fact. I have no issues with preferring either of Jikes or the selected-JDK's javac; net/spread was tested with both. spread does not need a java compiler at runtime; it's just a build-dependency. If this is mainly to set a runtime dependency, then net/spread won't need it. n.b. There is already a workaround required to support Jikes; that is, to find rt.jar, I have to use CLASSPATH=${JAVA_CLASSES} ${JAVAC} as the invocation, unless you've fixed this :) Cheers Joshua To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message