java/jdk13 does not autodetect itself
Herve Quiroz
herve.quiroz at esil.univ-mrs.fr
Thu May 15 03:44:17 PDT 2003
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).
More information about the freebsd-java
mailing list