pkgsrc-Bugs archive

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

pkg/45789: pkgtools/pkglint is not on par with mk/java-vm.mk



>Number:         45789
>Category:       pkg
>Synopsis:       pkgtools/pkglint is not on par with mk/java-vm.mk
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jan 05 22:15:00 +0000 2012
>Originator:     B.ICT A.P. deBROUWER Jr.
>Release:        5.99.59
>Organization:
-none-
>Environment:
NetBSD 10.0.2.17 5.99.59 NetBSD 5.99.59 (MONOLITHIC) #0: Tue Dec 27 01:19:12 
UTC 2011  
builds%b8.netbsd.org@localhost:/home/builds/ab/HEAD/i386/201112261820Z-obj/home/builds/ab/HEAD/src/sys/arch/i386/compile/MONOLITHIC
 i386
>Description:
pkglint a pkg that is using:
PKG_JVMS_ACCEPTED=      openjdk7

results in this warning:
WARN: Makefile:17: "openjdk7" is not valid for PKG_JVMS_ACCEPTED. Use one of { 
blackdown-jdk13 jdk jdk14 kaffe sun-jdk13 sun-jdk14 sun-jdk15 sun-jdk6 } 
instead.
>How-To-Repeat:
see description.
>Fix:
--- files/makevars.map.orig     2012-01-06 00:18:39.000000000 +0000
+++ files/makevars.map  2012-01-06 00:19:52.000000000 +0000
@@ -574,6 +574,7 @@
                                jdk jdk14                               \
                                kaffe                                   \
                                sun-jdk13 sun-jdk14 sun-jdk15 sun-jdk6  \
+                               openjdk7 openjdk7-bin                   \
                        } [m:s,c:ds]
 PKG_JVM_DEFAULT                {                                               
\
                                blackdown-jdk13                         \



Home | Main Index | Thread Index | Old Index