pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/45654: USE_JAVA2 description is insufficient



>Number:         45654
>Category:       pkg
>Synopsis:       USE_JAVA2 description is insufficient
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Nov 26 13:30:00 +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@localhost:/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


>Unformatted:
        
        


Home | Main Index | Thread Index | Old Index