Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 May 2003 12:45:09 +0200 (CEST)
From:      Herve Quiroz <herve.quiroz@esil.univ-mrs.fr>
To:        Ernst de Haan <ernst.dehaan@nl.wanadoo.com>
Cc:        freebsd-java@FreeBSD.ORG
Subject:   Re: java/jdk13 does not autodetect itself
Message-ID:  <20030515123431.U62774@puget.esil.univ-mrs.fr>
In-Reply-To: <200305150858.53470.ernst.dehaan@nl.wanadoo.com>
References:  <20030514.125107.74756915.haro@kgt.co.jp> <20030514213828.T78142@puget.esil.univ-mrs.fr> <200305150858.53470.ernst.dehaan@nl.wanadoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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).



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030515123431.U62774>