Subject: Re: CLASSPATH/_JAVA_CLASSES_ZIP and wonka
To: Johnny C. Lam <jlam@netbsd.org>
From: David Brownlee <abs@netbsd.org>
List: tech-pkg
Date: 12/27/2002 12:35:45
On Mon, 23 Dec 2002, Johnny C. Lam wrote:

> On Mon, Dec 23, 2002 at 03:54:33PM +0000, David Brownlee wrote:
> > 	CLASSPATH and _JAVA_CLASSES_ZIP are set in bsd.pkg.mk, but in
> > 	the wonka case I think it seems to make more sense to set them
> > 	to ${PKG_JAVA_HOME}/lib/wre.jar: rather than
> > 	${PKG_JAVA_HOME}/lib/classes.zip:
> >
> > 	Any objections to moving them to mk/java.mk instead?
>
> It'll be hard to move it (check the comments above CLASSPATH) since java.mk
> is included before bsd.pkg.mk by package Makefiles.  It's probably easier
> to include some sort of override for those variables in
> wonka/buildlink2.mk, although that doesn't deal with packages that don't
> use buildlink2.

	Hmm - how about setting _JAVA_BASE_CLASSES in java-vm.mk to
	'classes.zip' or 'wre.jar' and then using that in bsd.pkg.mk?

-- 
		David/absolute          -- www.netbsd.org: No hype required --