some questions about Java ports
Greg Lewis
glewis at eyesbeyond.com
Mon Oct 3 09:22:09 PDT 2005
On Sun, Oct 02, 2005 at 10:30:58PM -0400, Mikhail T. wrote:
> Hello!
>
> I have the following issues with the current bsd.java.mk and
> thereabouts:
>
[...]
> 5) On amd64 (and others, I guess), the only native JDK is 1.5. So,
> when a port declares something like 1.3+ or 1.4+, bsd.java.mk
> should build 1.5 on the platform, should not it?
Maybe a patch is appropriate (attached).
--
Greg Lewis Email : glewis at eyesbeyond.com
Eyes Beyond Web : http://www.eyesbeyond.com
Information Technology FreeBSD : glewis at FreeBSD.org
-------------- next part --------------
Index: bsd.java.mk
===================================================================
RCS file: /var/fcvs/ports/Mk/bsd.java.mk,v
retrieving revision 1.66
diff -u -r1.66 bsd.java.mk
--- bsd.java.mk 15 Jul 2005 11:32:31 -0000 1.66
+++ bsd.java.mk 3 Oct 2005 16:18:47 -0000
@@ -217,7 +217,11 @@
# Enforce preferred Java ports according to OS
. if ${OSVERSION} >= 400000
+. if ${ARCH} == "amd64"
+_JAVA_PREFERRED_PORTS+= JAVA_PORT_NATIVE_BSDJAVA_JDK_1_5
+. else
_JAVA_PREFERRED_PORTS+= JAVA_PORT_NATIVE_BSDJAVA_JDK_1_4
+. endif
. else
_JAVA_PREFERRED_PORTS+= JAVA_PORT_NATIVE_BSDJAVA_JDK_1_1
. endif
More information about the freebsd-java
mailing list