Subject: pkg/15643: USE_JAVA does not work with sun-jdk13
To: None <firstname.lastname@example.org>
From: Julio Merino <email@example.com>
Date: 02/17/2002 18:48:26
>Synopsis: USE_JAVA does not work with sun-jdk13
>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 firstname.lastname@example.org:/usr/src/sys/arch/i386/compile/KLAMATH 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.