Date: Mon, 3 Oct 2005 10:21:56 -0600 From: Greg Lewis <glewis@eyesbeyond.com> To: "Mikhail T." <mi@aldan.algebra.com> Cc: java@freebsd.org, hq@freebsd.org Subject: Re: some questions about Java ports Message-ID: <20051003162156.GA53083@misty.eyesbeyond.com> In-Reply-To: <200510030230.j932Uwbo005425@blue.virtual-estates.net> References: <200510030230.j932Uwbo005425@blue.virtual-estates.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--5mCyUwZo2JvN/JJP Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org --5mCyUwZo2JvN/JJP Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="bsd.java.mk.amd64.diff" 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 --5mCyUwZo2JvN/JJP--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051003162156.GA53083>