You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by BugRat Mail System <to...@cortexity.com> on 2000/09/15 20:09:13 UTC

BugRat Report #123 has been filed.

Bug report #123 has just been filed.

You can view the report at the following URL:

   <http://znutar.cortexity.com:8888/BugRatViewer/ShowReport/123>

REPORT #123 Details.

Project: Tomcat
Category: Feature Requests
SubCategory: Enhancement
Class: suggest
State: received
Priority: low
Severity: non-critical
Confidence: public
Environment: 
   Release: 3.2b4
   JVM Release: N/A
   Operating System: Linux
   OS Release: N/A
   Platform: N/A

Synopsis: 
mod_jk Makefile.linux always redefines APACHE_HOME

Description:
While trying to build RPMs of Tomcat 3.2b4, I've noticed
that jakarta-tomcat/src/native/apache1.3/Makefile.linux
always defines APACHE_HOME to /usr/local/apache, but this
isn't always correct.  By adding ifndef's around this,
it allows you to pass the APACHE_HOME in the environment.
This makes it much easier to do automated builds.

A trivial patch is included which fixes it.  The same
appears to apply for Makefile.freebsd.


[PATCH] Re: BugRat Report #123 has been filed.

Posted by Paul Frieden <pf...@dchain.com>.
Sorry, the patch didn't get included when I submitted the report, so I'm
sending it here.

Paul Frieden


--- jakarta-tomcat/src/native/apache1.3/Makefile.linux-old	Fri Sep 15
11:55:45 2000
+++ jakarta-tomcat/src/native/apache1.3/Makefile.linux	Fri Sep 15
11:51:55 2000@@ -1,6 +1,9 @@
 ## You need to edit this file - configure later :-)
 
+ifndef APACHE_HOME
 APACHE_HOME=/usr/local/apache
+endif
+
 OS=linux
 APXS=${APACHE_HOME}/bin/apxs



BugRat Mail System wrote:
> 
> Bug report #123 has just been filed.
> 
> You can view the report at the following URL:
> 
>    <http://znutar.cortexity.com:8888/BugRatViewer/ShowReport/123>
> 
> REPORT #123 Details.
> 
> Project: Tomcat
> Category: Feature Requests
> SubCategory: Enhancement
> Class: suggest
> State: received
> Priority: low
> Severity: non-critical
> Confidence: public
> Environment:
>    Release: 3.2b4
>    JVM Release: N/A
>    Operating System: Linux
>    OS Release: N/A
>    Platform: N/A
> 
> Synopsis:
> mod_jk Makefile.linux always redefines APACHE_HOME
> 
> Description:
> While trying to build RPMs of Tomcat 3.2b4, I've noticed
> that jakarta-tomcat/src/native/apache1.3/Makefile.linux
> always defines APACHE_HOME to /usr/local/apache, but this
> isn't always correct.  By adding ifndef's around this,
> it allows you to pass the APACHE_HOME in the environment.
> This makes it much easier to do automated builds.
> 
> A trivial patch is included which fixes it.  The same
> appears to apply for Makefile.freebsd.
> 
>   ------------------------------------------------------------------------
>                          Name: Report-123.html
>    Report-123.html       Type: Hypertext Markup Language (text/html)
>                      Encoding: 7bit
>                   Description: DataSource attachment 'Report-123.html'
> 
>   ------------------------------------------------------------------------
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org