Subject: pkg/15643: USE_JAVA does not work with sun-jdk13
To: None <gnats-bugs@gnats.netbsd.org>
From: Julio Merino <slink@unixbsd.org>
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
>Closed-Date:
>Last-Modified:
>Originator:     Julio Merino
>Release:        NetBSD 1.5ZA
>Organization:
>Environment:
	
	
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
>Description:
	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.
>How-To-Repeat:
	
>Fix:
	Change pkgsrc mk files to allow USE_JAVA variable check sun-jdk13
	in addition to jdk.
>Release-Note:
>Audit-Trail:
>Unformatted: