Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Jan 2004 17:44:52 +0200
From:      Panagiotis Astithas <past@noc.ntua.gr>
To:        "Kang Liu" <liukang@bjpu.edu.cn>, "'Xin LI'" <delphij@frontfree.net>, <dadelcas@cantv.net>
Cc:        ports@freebsd.org
Subject:   Re: FreeBSD Port: jakarta-tomcat5-5.0.16
Message-ID:  <200401161744.52776.past@noc.ntua.gr>
In-Reply-To: <274266258.23232@bjpu.edu.cn>
References:  <274266258.23232@bjpu.edu.cn>

next in thread | previous in thread | raw e-mail | index | archive | help
On Friday 16 January 2004 17:33, Kang Liu wrote:
> > -----Original Message-----
> > From: owner-freebsd-ports@freebsd.org
> > [mailto:owner-freebsd-ports@freebsd.org] On Behalf Of Xin LI
> > Sent: Friday, January 16, 2004 11:00 PM
> > To: Kang Liu; dadelcas@cantv.net
> > Cc: ports@FreeBSD.org
> > Subject: Re: FreeBSD Port: jakarta-tomcat5-5.0.16
> >
> > I think a new feature could be added to the bsd.{foo}.mk,
> > sometimes a port can run with a minimum version of a certain
> > "environment"-ish port, e.g.,
> > tomcat5 runs on JDK 1.3+, however, it may be best working
> > with JDK 1.4.
> > (Just take these as example, I don't mean tomcat5 will or
> > will not work best with JDK 1.3 or 1.4, though.)
> >
> > With this in consideration, I'd proposal some knob like
> > USE_JAVA_PREFER= 1.4 and this will cause the port to
> > automatically install JDK 1.4 if there's no JDK installed.
> > Also, this should apply to other ports like perl, php, etc.
> >
> > Just my own 0.02 Yuan :)
> >
> > Cheers,
> > Xin LI
>
> USE_JAVA_PREFER=1.4 :-)
> I think it is a good idea.
> If we set a variable like this
> then we could not only set the version of jdk but also choose prefer native
> jdk (diablo) or not.

We already have this, by using for example:
USE_JAVA=1.3+
To differentiate between native and emulated versions, wait for bsd.java.mk 
v2.0.

Cheers,
-- 
Panagiotis Astithas
Electrical & Computer Engineer, PhD
Network Management Center
National Technical University of Athens, Greece



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200401161744.52776.past>