From owner-freebsd-ports@FreeBSD.ORG Fri Jan 16 07:00:31 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 137EC16A55E for ; Fri, 16 Jan 2004 07:00:31 -0800 (PST) Received: from ftp.bjpu.edu.cn (ftp.bjpu.edu.cn [202.112.78.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 47DF743D70 for ; Fri, 16 Jan 2004 07:00:20 -0800 (PST) (envelope-from delphij@frontfree.net) Received: by ftp.bjpu.edu.cn (Postfix, from userid 426) id 814EE52DC; Fri, 16 Jan 2004 23:00:19 +0800 (CST) Received: from beastie.frontfree.net (beastie.frontfree.net [218.107.145.7]) by ftp.bjpu.edu.cn (Postfix) with ESMTP id 4B9AB52D4 for ; Fri, 16 Jan 2004 23:00:19 +0800 (CST) Received: by beastie.frontfree.net (Postfix, from userid 426) id AE5D411A1F; Fri, 16 Jan 2004 23:00:17 +0800 (CST) Received: from phantasm205 (unknown [61.49.107.178]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by beastie.frontfree.net (Postfix) with ESMTP id 1DDF011509; Fri, 16 Jan 2004 23:00:13 +0800 (CST) Message-ID: <06ec01c3dc41$776c5840$0401a8c0@phantasm205> From: "Xin LI" To: "Kang Liu" , References: <274264360.23229@bjpu.edu.cn> Date: Fri, 16 Jan 2004 23:00:17 +0800 Organization: Phantasm Studio MIME-Version: 1.0 Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.3790.0 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0 cc: ports@FreeBSD.org Subject: Re: FreeBSD Port: jakarta-tomcat5-5.0.16 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Jan 2004 15:00:31 -0000 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" To: Cc: 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.