NetBSD Problem Report #45654
From ryo_on@yk.rim.or.jp Sat Nov 26 13:25:55 2011
Return-Path: <ryo_on@yk.rim.or.jp>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by www.NetBSD.org (Postfix) with ESMTP id 5677763CAFD
for <gnats-bugs@gnats.netbsd.org>; Sat, 26 Nov 2011 13:25:55 +0000 (UTC)
Message-Id: <20111126132555.5677763CAFD@www.NetBSD.org>
Date: Sat, 26 Nov 2011 13:25:55 +0000 (UTC)
From: ryoon@NetBSD.org
Reply-To: ryoon@NetBSD.org
To: gnats-bugs@gnats.NetBSD.org
Subject: USE_JAVA2 description is insufficient
X-Send-Pr-Version: 3.95
>Number: 45654
>Category: pkg
>Synopsis: USE_JAVA2 description is insufficient
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: ryoon
>State: closed
>Class: doc-bug
>Submitter-Id: net
>Arrival-Date: Sat Nov 26 13:30:00 +0000 2011
>Closed-Date: Fri Dec 02 21:44:36 +0000 2011
>Last-Modified: Fri Dec 02 21:44:36 +0000 2011
>Originator: Ryo ONODERA
>Release: NetBSD 5.99.56
>Organization:
>Environment:
System: NetBSD hydrogen.elements.tetera.org 5.99.56 NetBSD 5.99.56 (LEAFGIRL9) #14: Sat Nov 19 15:35:08 JST 2011 root@hydrogen.elements.tetera.org:/usr/obj/sys/arch/i386/compile/LEAFGIRL9 i386
Architecture: i386
Machine: i386
>Description:
According to mk/java-vm.mk, USE_JAVA2 supports value "7".
Document (output of "make help topic=USE_JAVA2") should be updated.
from mk/java-vm.mk,
USE_JAVA2?= no
PKG_JVM_DEFAULT?= # empty
PKG_JVMS_ACCEPTED?= ${_PKG_JVMS}
# This is a list of all of the JDKs that may be used.
#
_PKG_JVMS.7= openjdk7 openjdk7-bin
~~~
_PKG_JVMS.6= ${_PKG_JVMS.7} sun-jdk6 jdk16
_PKG_JVMS.1.5= ${_PKG_JVMS.6} jdk15
_PKG_JVMS.1.4= ${_PKG_JVMS.1.5}
_PKG_JVMS.yes= ${_PKG_JVMS.1.4} kaffe
_PKG_JVMS.no= ${_PKG_JVMS.yes}
_PKG_JVMS= ${_PKG_JVMS.${USE_JAVA2}}
>How-To-Repeat:
$ make help topic=USE_JAVA2
>Fix:
Index: mk/java-vm.mk
===================================================================
RCS file: /cvsroot/pkgsrc/mk/java-vm.mk,v
retrieving revision 1.81
diff -u -r1.81 java-vm.mk
--- mk/java-vm.mk 3 Oct 2011 10:02:56 -0000 1.81
+++ mk/java-vm.mk 26 Nov 2011 13:14:15 -0000
@@ -26,10 +26,10 @@
#
# USE_JAVA2
# When the package needs a Java 2 implementation, this variable
-# should be set to "yes". It can also be set to "1.4", "1.5",
-# or "6" require an even more recent implementation.
+# should be set to "yes". It can also be set to "1.4", "1.5", "6"
+# or "7" require an even more recent implementation.
#
-# Possible values: yes no 1.4 1.5 6
+# Possible values: yes no 1.4 1.5 6 7
# Default value: no
#
# PKG_JVMS_ACCEPTED
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->ryoon
Responsible-Changed-By: obache@NetBSD.org
Responsible-Changed-When: Sat, 26 Nov 2011 13:36:07 +0000
Responsible-Changed-Why:
Please go ahead!
From: "Ryo ONODERA" <ryoon@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/45654 CVS commit: pkgsrc/mk
Date: Sat, 26 Nov 2011 18:25:43 +0000
Module Name: pkgsrc
Committed By: ryoon
Date: Sat Nov 26 18:25:43 UTC 2011
Modified Files:
pkgsrc/mk: java-vm.mk
Log Message:
Document section update. PR pkg/45654.
* Add value "7" to USE_JAVA2.
To generate a diff of this commit:
cvs rdiff -u -r1.81 -r1.82 pkgsrc/mk/java-vm.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
State-Changed-From-To: open->closed
State-Changed-By: ryoon@NetBSD.org
State-Changed-When: Fri, 02 Dec 2011 21:44:36 +0000
State-Changed-Why:
fixed
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.