From owner-freebsd-java@FreeBSD.ORG Mon Oct 3 16:22:09 2005 Return-Path: X-Original-To: java@freebsd.org 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 D05BE16A41F; Mon, 3 Oct 2005 16:22:09 +0000 (GMT) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (glewis.dsl.xmission.com [166.70.56.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id 37E7A43D45; Mon, 3 Oct 2005 16:22:06 +0000 (GMT) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) by misty.eyesbeyond.com (8.13.3/8.13.3) with ESMTP id j93GLvWo053099; Mon, 3 Oct 2005 10:21:57 -0600 (MDT) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.13.3/8.13.3/Submit) id j93GLuoX053098; Mon, 3 Oct 2005 10:21:56 -0600 (MDT) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Mon, 3 Oct 2005 10:21:56 -0600 From: Greg Lewis To: "Mikhail T." Message-ID: <20051003162156.GA53083@misty.eyesbeyond.com> References: <200510030230.j932Uwbo005425@blue.virtual-estates.net> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="5mCyUwZo2JvN/JJP" Content-Disposition: inline In-Reply-To: <200510030230.j932Uwbo005425@blue.virtual-estates.net> User-Agent: Mutt/1.4.2.1i Cc: java@freebsd.org, hq@freebsd.org Subject: Re: some questions about Java ports X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Oct 2005 16:22:09 -0000 --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--