Subject: Re: USE_JAVA and sun-jre
To: David Brownlee <abs@netbsd.org>
From: Alistair Crooks <agc@pkgsrc.org>
List: tech-pkg
Date: 04/24/2001 10:43:31
On Tue, Apr 24, 2001 at 10:28:09AM +0100, David Brownlee wrote:
> On Tue, 24 Apr 2001, Alistair Crooks wrote:
> 
> > > 		DEPENDS+=               {sun-jre,jdk}-*:../../lang/jdk
> > >
> > > 	unfortunately if you have sun-jre installed without sun-jdk
> > > 	you can't install at least jdbc-postgres and tomcat-jakarta
> > > 	as they fail due to the missing javac.
> > >
> > > 	Does anyone have any objections to me changing the above to
> > > 	{sun-jdk,jdk}?
> >
> > On my dmz machines, I really, really don't want a javac on there (or
> > any compiler for that matter).  Thus, I install packages on my dmz
> > machines using binary packages, and get around things that way, since
> > I only need the databases, jdbc drivers and "java" on there.
> 
> 	Hmm - how about adding
> 	BUILD_DEPENDS+=               {sun-jdk,jdk}-*:../../lang/jdk
> 
> 		David/absolute		-- www.netbsd.org: No hype required --

Yes, that would seem to me to be a better idea.  But I probably
haven't thought through all the ramifications, as coffee has managed
to evade me so far today.

Regards,
Alistair