From owner-freebsd-java Tue Apr 16 16:16:54 2002 Delivered-To: freebsd-java@freebsd.org Received: from ns1.presedia.com (ns1.presedia.com [63.209.7.68]) by hub.freebsd.org (Postfix) with ESMTP id 28A8537B404; Tue, 16 Apr 2002 16:16:47 -0700 (PDT) Received: from fuzzy (adsl-64-170-114-98.dsl.snfc21.pacbell.net [64.170.114.98]) by ns1.presedia.com (8.11.6/8.11.6) with SMTP id g3GNGce17577; Tue, 16 Apr 2002 16:16:38 -0700 (PDT) (envelope-from andrew.gerweck@presedia.com) From: "Andrew Gerweck" To: , "Mario Sergio Fujikawa Ferreira" Cc: "Ernst de Haan" , , , Subject: RE: Using NEED_JAVAC in ports Date: Tue, 16 Apr 2002 16:16:51 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) In-Reply-To: <1018998636.91799.1.camel@johncoop.MSHOME> X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal 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 Maybe it should be NEED_JAVA_COMPILER and NEED_JIKES. NEED_JAVAC is a bit ambiguous for the usage proposed. Thanks, Andrew Gerweck -----Original Message----- From: owner-freebsd-java@FreeBSD.ORG [mailto:owner-freebsd-java@FreeBSD.ORG]On Behalf Of John Merryweather Cooper Sent: Tuesday, April 16, 2002 4:11 PM To: Mario Sergio Fujikawa Ferreira Cc: Ernst de Haan; zach@neurosoft.org; joshua@roughtrade.net; java@FreeBSD.ORG Subject: Re: Using NEED_JAVAC in ports I agree with lioux--a NEED_JIKES knob would be symmetric and would help clarify in the mind of the porter/maintainer what he/she is really getting when NEED_JAVAC is set. On Tue, 2002-04-16 at 14:45, Mario Sergio Fujikawa Ferreira wrote: > On Tue, Apr 16, 2002 at 10:21:54PM +0200, Ernst de Haan wrote: > > > > > I would authorize changes on my ports for adding a tweakable > > > need for JAVAC but I would like to understand why would it affect > > > jikes? I really use javac. After all, I don't need jikes in my > > > two affected ports: javadc and jift. > > > What your heuristic for picking either jikes or javac? > > > I am curious. > > > > The behaviour of your port will not change. The behaviour of some other ports > > will change, though. More specifically: The ports that define USE_JAVA but do > > not use ${JAVAC} will not depend on Jikes anymore, even if bsd.java.mk > > previously determined that Jikes should be used if a Java compiler was > > necessary. > > > > The problem is that bsd.java.mk currently sets Jikes as a dependency for any > > port that has USE_JAVA defined and Jikes installed on their system... > > > > Hope this is clear. If it's not, then it's my fault. I'm tired ||-) > > Don't worry. It's my fault: "He who asks the right question, > gets the right answer." > > I was wondering: > > 1) I use javac in one port which is a fact > 2) I do not need any special functionality from jikes > > Therefore, I need javac installed but rather not > depend on jikes... even if it is installed. If it is not installed, > I do not want it to be installed. > > Shouldn't we have both NEED_JAVAC and NEED_JIKES? > > .ifdef(NEED_JIKES) > NEED_JAVAC=yes > JAVAC=jikes > .endif > > Unless, I am mistaking my defining NEED_JAVAC does not > imply in my wanting jikes but rather javac. > > Regards, > > -- > Mario S F Ferreira - DF - Brazil - "I guess this is a signature." > Computer Science Undergraduate | FreeBSD Committer | CS Developer > flames to beloved devnull@someotherworldbeloworabove.org > feature, n: a documented bug | bug, n: an undocumented feature > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-java" in the body of the message -- _ | |V| / ' || MacroHard -- \ \_| | | \_, || the perfection of form over | ----------------------------------|| substance, marketing over | Web: http://www.borgsdemons.com || performance, and greed over | AIM: johnmcooper || design . . . | =====================================================================/ Public Key: http://www.borgsdemons.com/Personal/pgpkey.asc | =====================================================================\ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message