From owner-freebsd-java Thu Mar 15 16:31:11 2001 Delivered-To: freebsd-java@freebsd.org Received: from pluto.senet.com.au (pluto.senet.com.au [203.56.239.150]) by hub.freebsd.org (Postfix) with ESMTP id E916B37B718 for ; Thu, 15 Mar 2001 16:31:07 -0800 (PST) (envelope-from glewis@misty.eyesbeyond.com) Received: from misty.eyesbeyond.com (c24-p62.senet.com.au [203.152.232.63]) by pluto.senet.com.au (8.11.0/8.11.0) with ESMTP id f2G0V4k30566; Fri, 16 Mar 2001 11:01:04 +1030 (CST) (envelope-from glewis@misty.eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.1/8.11.1) id f2G0V2N94952; Fri, 16 Mar 2001 11:01:02 +1030 (CST) (envelope-from glewis) Date: Fri, 16 Mar 2001 11:01:02 +1030 From: Greg Lewis To: Daichi GOTO Cc: freebsd-java@FreeBSD.ORG Subject: Re: Tomcat for BSD (was: RE: Trying to Create a simple Bean) Message-ID: <20010316110102.A94906@misty.eyesbeyond.com> References: <20010310084224.B64357@misty.eyesbeyond.com> <84751600.984699712758.JavaMail.daichi@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <84751600.984699712758.JavaMail.daichi@localhost>; from daichi@ongs.gr.jp on Fri, Mar 16, 2001 at 08:41:52AM +0900 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Fri, Mar 16, 2001 at 08:41:52AM +0900, Daichi GOTO wrote: > I had made patch to build mod_jk.so for JDK122 and Apache that are installed by ports. > > --- Makefile.freebsd.orig Wed Dec 13 07:51:55 2000 > +++ Makefile.freebsd Fri Mar 16 08:30:23 2001 > @@ -1,18 +1,18 @@ > ## You need to edit this file - configure later :-) > > -APACHE_HOME=/usr/local/apache > +APACHE_HOME?=/usr/local/apache > OS=freebsd > -APXS=${APACHE_HOME}/bin/apxs > +APXS=/usr/local/sbin/apxs Ok, now I see what the port does I can see the need for this change for the ports system. Its not needed with a default apache install which is why I didn't need it :). > A13_FLAGS=-I${APACHE_HOME}/include > > ## I assume this one is set up already > -# JAVA_HOME= > +JAVA_HOME?=/usr/local/jdk1.2.2 You shouldn't need this one if you either set JAVA_HOME in your environment correctly or you set it on the make command line. However, it doesn't hurt, especially with a reasonable default like this. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Mobile: 0419 868 494 Information Technology Web : http://www.eyesbeyond.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message