Skip site navigation (1)Skip section navigation (2)
Date:      Sun,  8 Jan 2012 23:00:02 +0800 (CST)
From:      Denny Lin <dennylin93@hs.ntnu.edu.tw>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/163916: Set JDK_UPDATE_VERSION for java/openjdk6
Message-ID:  <20120108150002.3B9491C643E@mail.hs.ntnu.edu.tw>
Resent-Message-ID: <201201081500.q08F0L0i093694@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         163916
>Category:       ports
>Synopsis:       Set JDK_UPDATE_VERSION for java/openjdk6
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jan 08 15:00:20 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Denny Lin
>Release:        FreeBSD 10.0-CURRENT amd64
>Organization:
>Environment:
System: FreeBSD cnmc32.hs.ntnu.edu.tw 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r228819M: Fri Dec 23 08:56:11 CST 2011 root@cnmc32.hs.ntnu.edu.tw:/usr/obj/usr/src/sys/GENERIC amd64


	
>Description:
Even though JDK_UPDATE_VERSION=50 is set in java/icedtea-web, http://java.com/en/download/testjava.jsp shows the version as Java SE 6 without any updates.

Setting it here changes the detected version to Java SE 6 Update 50.
	
>How-To-Repeat:
	
>Fix:

	

--- openjdk6-jdk_update_version.patch begins here ---
--- Makefile.orig	2012-01-08 22:44:03.000000000 +0800
+++ Makefile	2012-01-08 22:43:36.000000000 +0800
@@ -122,7 +122,8 @@
 		ANT_HOME=${WRKDIR}/apache-ant-${ANTVERSION} \
 		BUILD_NUMBER=${PORTVERSION} \
 		NO_DOCS=true \
-		MILESTONE=fcs
+		MILESTONE=fcs \
+		JDK_UPDATE_VERSION=50
 
 .if defined(WITH_DEBUG)
 ALL_TARGET=	debug_build
--- openjdk6-jdk_update_version.patch ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



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