Subject: Make kaffe acceptable for USE_JAVA2?
To: None <tech-pkg@netbsd.org>
From: Todd Vierling <tv@duh.org>
List: tech-pkg
Date: 04/06/2004 14:10:42
As of the later 1.1.x versions, kaffe is indeed a workable Java2
implementation.  I'd like to commit the following, which would permit kaffe
to satisfy USE_JAVA2, but would change the DEPENDS to a dewey conditional on
>=1.1.4 to make sure at least the current version of kaffe is used.

Index: java-vm.mk
===================================================================
RCS file: /cvsroot/pkgsrc/mk/java-vm.mk,v
retrieving revision 1.20
diff -u -r1.20 java-vm.mk
--- java-vm.mk	2 Apr 2004 17:26:21 -0000	1.20
+++ java-vm.mk	6 Apr 2004 18:09:35 -0000
@@ -43,7 +43,7 @@
 # Note: The wonka configuration is still under development
 #
 .if defined(USE_JAVA2) && !empty(USE_JAVA2:M[yY][eE][sS])
-_PKG_JVMS?=		sun-jdk13 sun-jdk14 blackdown-jdk13 wonka jdk12 jdk13
+_PKG_JVMS?=		sun-jdk13 sun-jdk14 blackdown-jdk13 kaffe wonka jdk12 jdk13
 .else
 _PKG_JVMS?=		jdk sun-jdk13 sun-jdk14 blackdown-jdk13 kaffe wonka jdk12 jdk13
 .endif
@@ -195,7 +195,7 @@
 BUILDLINK_DEPENDS.sun-jre14?=		sun-jre14-[0-9]*
 BUILDLINK_DEPENDS.blackdown-jdk13?=	blackdown-jdk13-[0-9]*
 BUILDLINK_DEPENDS.blackdown-jre13?=	blackdown-jre13-[0-9]*
-BUILDLINK_DEPENDS.kaffe?=		kaffe-[0-9]*
+BUILDLINK_DEPENDS.kaffe?=		kaffe>=1.1.4
 BUILDLINK_DEPENDS.wonka?=		wonka-[0-9]*

 _JRE.jdk=		jdk

-- 
-- Todd Vierling <tv@duh.org> <tv@pobox.com>