Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Jan 2004 23:00:17 +0800
From:      "Xin LI" <delphij@frontfree.net>
To:        "Kang Liu" <liukang@bjpu.edu.cn>, <dadelcas@cantv.net>
Cc:        ports@FreeBSD.org
Subject:   Re: FreeBSD Port: jakarta-tomcat5-5.0.16
Message-ID:  <06ec01c3dc41$776c5840$0401a8c0@phantasm205>
References:  <274264360.23229@bjpu.edu.cn>

next in thread | previous in thread | raw e-mail | index | archive | help
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

----- Original Message ----- 
From: "Kang Liu" <liukang@bjpu.edu.cn>
To: <dadelcas@cantv.net>
Cc: <ports@FreeBSD.org>
Sent: Friday, January 16, 2004 11:01 PM
Subject: RE: FreeBSD Port: jakarta-tomcat5-5.0.16


> Your can install jdk14 before install jakarta-tomcat5,
> or change the Makefile in ~ports/www/jakarta-tomcat5
> Set USE_JAVA= 1.4+, then install jakarta-tomat5.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?06ec01c3dc41$776c5840$0401a8c0>