Subject: pkg/15643: USE_JAVA does not work with sun-jdk13
To: None <>
From: Julio Merino <>
List: netbsd-bugs
Date: 02/17/2002 18:48:26
>Number:         15643
>Category:       pkg
>Synopsis:       USE_JAVA does not work with sun-jdk13
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Feb 17 09:50:02 PST 2002
>Originator:     Julio Merino
>Release:        NetBSD 1.5ZA
System: NetBSD klamath.local 1.5ZA NetBSD 1.5ZA (KLAMATH) #1: Fri Feb 15 23:55:03 CET 2002 root@klamath.local:/usr/src/sys/arch/i386/compile/KLAMATH i386
Architecture: i386
Machine: i386
	When trying to build packages that need Java, pkgsrc isn't able to
	work with sun-jdk13. I'll explain a concrete example:

	I first install lang/jdk package (version 1.1.8) and then, I go to
	x11/swing to install the swing library. Everything goes fine. But
	now, I remove both packages and install lang/sun-jdk13 (I need
	this one). Then, when I go to build x11/swing it fails, because
	USE_JAVA=yes needs to compile lang/jdk, but does not detects
	sun-jdk13. Both packages conflict, so the installation fails.

	Note: commenting out USE_JAVA=yes from the Makefile leaves me
	install swing, and everything goes fine.
	Change pkgsrc mk files to allow USE_JAVA variable check sun-jdk13
	in addition to jdk.