$TOMCAT_HOME is /var/tomcat

This commit is contained in:
reinhard 2001-06-18 09:48:24 +00:00
parent 42344024b0
commit bbb7232505
2 changed files with 3 additions and 4 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.1.1.1 2001/06/17 12:18:16 reinhard Exp $
# $OpenBSD: Makefile,v 1.2 2001/06/18 09:48:24 reinhard Exp $
COMMENT= "java servlet 2.2 and java server pages 1.1 server"
@ -31,7 +31,6 @@ TOMCATDIR= /var/tomcat
SUBST_VARS= TOMCATDIR CONFDIR
post-patch:
@perl -pi -e 's|PREFIX|${PREFIX}|g' ${WRKSRC}/conf/workers.properties
@perl -pi -e 's|JAVA_HOME|${JAVA_HOME}|g' ${WRKSRC}/conf/workers.properties
@perl -pi -e 's|TOMCATDIR|${TOMCATDIR}|g' ${WRKSRC}/bin/tomcat.sh
@perl -pi -e 's|PREFIX|${PREFIX}|g' ${WRKSRC}/bin/tomcat.sh

View File

@ -1,4 +1,4 @@
$OpenBSD: patch-conf_workers_properties,v 1.1.1.1 2001/06/17 12:18:17 reinhard Exp $
$OpenBSD: patch-conf_workers_properties,v 1.2 2001/06/18 09:48:24 reinhard Exp $
--- conf/workers.properties.orig Tue Dec 12 22:36:26 2000
+++ conf/workers.properties Fri May 18 15:24:26 2001
@@ -40,20 +40,20 @@
@ -6,7 +6,7 @@ $OpenBSD: patch-conf_workers_properties,v 1.1.1.1 2001/06/17 12:18:17 reinhard E
# directories.
#
-workers.tomcat_home=c:\jakarta-tomcat
+workers.tomcat_home=PREFIX/tomcat
+workers.tomcat_home=/var/tomcat
#
# workers.java_home should point to your Java installation. Normally