From owner-freebsd-java@FreeBSD.ORG Thu May 15 03:44:17 2003 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 6C36637B401 for ; Thu, 15 May 2003 03:44:17 -0700 (PDT) Received: from puget.esil.univ-mrs.fr (puget.esil.univ-mrs.fr [139.124.41.103]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2BB0243FAF for ; Thu, 15 May 2003 03:44:16 -0700 (PDT) (envelope-from herve.quiroz@esil.univ-mrs.fr) Received: from puget.esil.univ-mrs.fr (localhost.esil.univ-mrs.fr [127.0.0.1]) h4FAjBnx062917; Thu, 15 May 2003 12:45:11 +0200 (CEST) (envelope-from herve.quiroz@esil.univ-mrs.fr) Received: from localhost (rv@localhost)h4FAj9oo062914; Thu, 15 May 2003 12:45:09 +0200 (CEST) X-Authentication-Warning: puget.esil.univ-mrs.fr: rv owned process doing -bs Date: Thu, 15 May 2003 12:45:09 +0200 (CEST) From: Herve Quiroz X-X-Sender: rv@puget.esil.univ-mrs.fr To: Ernst de Haan In-Reply-To: <200305150858.53470.ernst.dehaan@nl.wanadoo.com> Message-ID: <20030515123431.U62774@puget.esil.univ-mrs.fr> References: <20030514.125107.74756915.haro@kgt.co.jp> <20030514213828.T78142@puget.esil.univ-mrs.fr> <200305150858.53470.ernst.dehaan@nl.wanadoo.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-java@FreeBSD.ORG Subject: Re: java/jdk13 does not autodetect itself 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, 15 May 2003 10:44:17 -0000 On Thu, 15 May 2003, Ernst de Haan wrote: > > Well, actually it might work with the current bsd.java.mk settings. > > Because when you specify USE_JAVA=1.3, it first checks if native JDK 1.3 > > is installed and then it checks for the linux one. The bad thing is that > > if none is installed, it adds java/jdk13 in the dependencies, which is a > > kind of cyclic dependency. And speaking of this, to use USE_JAVA for JDK > > This could be worked around quite easily in bsd.java.mk. It's a hack, that's > true, but only a small one :-) I've located where the modifications should take place: Stage 5, add another condition for each USE_JAVA: "java/$(PORTNAME)" != "$(_JAVA_PORT_...)" If you want I could provide a patch. My main problem regarding JDK port testing is that even though I have spare time, my CPU hasn't got enough of it ;) And building a native port takes a lot ! Too bad there's no branching for ports (everything is -CURRENT AFAIK) so people could test for themselves. Regards, Herve PS: I've had time to think about "bsd.java.mk 2.0" (while supervising an exam...) and I've come to some thoughts I would like to share. Maybe we should let the port building as-is for now and support it only in bsd.java.mk 2.0 ? I'll explain further in my next message (after a good meal that is).