summaryrefslogtreecommitdiff
path: root/www/apache
diff options
context:
space:
mode:
authorsketch <sketch@pkgsrc.org>2004-11-15 15:05:34 +0000
committersketch <sketch@pkgsrc.org>2004-11-15 15:05:34 +0000
commit1ebcc3bfce3e11245a2ec54648d588e594490b53 (patch)
tree659bf6ef1e959ea61f16c034813e3f2457fd10fb /www/apache
parent7c875394e79900f1be18b5689a4741c4a61861f5 (diff)
downloadpkgsrc-1ebcc3bfce3e11245a2ec54648d588e594490b53.tar.gz
Use ${VARBASE} instead of hardcoded /var.
Diffstat (limited to 'www/apache')
-rw-r--r--www/apache/Makefile8
-rw-r--r--www/apache/files/config.layout10
2 files changed, 9 insertions, 9 deletions
diff --git a/www/apache/Makefile b/www/apache/Makefile
index beccd4bb0fa..952e6163c40 100644
--- a/www/apache/Makefile
+++ b/www/apache/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.155 2004/10/29 13:48:31 abs Exp $
+# $NetBSD: Makefile,v 1.156 2004/11/15 15:05:34 sketch Exp $
#
# This pkg does not compile in mod_ssl, only the `mod_ssl EAPI' (a set of
# code hooks that allow mod_ssl to be compiled separately later, if desired).
@@ -146,9 +146,9 @@ RCD_SCRIPTS= apache
MAKE_DIRS= ${PREFIX}/share/httpd
MAKE_DIRS+= ${PREFIX}/share/httpd/htdocs
OWN_DIRS+= ${PREFIX}/lib/httpd
-OWN_DIRS+= /var/httpd
-OWN_DIRS+= /var/log/httpd
-OWN_DIRS_PERMS+= /var/httpd/proxy ${APACHE_USER} ${APACHE_GROUP} 0755
+OWN_DIRS+= ${VARBASE}/httpd
+OWN_DIRS+= ${VARBASE}/log/httpd
+OWN_DIRS_PERMS+= ${VARBASE}/httpd/proxy ${APACHE_USER} ${APACHE_GROUP} 0755
PKG_GROUPS= ${APACHE_GROUP}
PKG_USERS= ${APACHE_USER}:${APACHE_GROUP}::Apache\\ user
diff --git a/www/apache/files/config.layout b/www/apache/files/config.layout
index 0c17293071d..47eeaab8966 100644
--- a/www/apache/files/config.layout
+++ b/www/apache/files/config.layout
@@ -1,4 +1,4 @@
-# $NetBSD: config.layout,v 1.6 2002/08/25 18:40:19 jlam Exp $
+# $NetBSD: config.layout,v 1.7 2004/11/15 15:05:34 sketch Exp $
<Layout pkgsrc>
prefix: @PREFIX@
@@ -14,8 +14,8 @@ htdocsdir: ${prefix}/share/httpd/htdocs
manualdir: ${prefix}/share/httpd/htdocs/manual
cgidir: ${exec_prefix}/libexec/cgi-bin
includedir: ${prefix}/include/httpd
-localstatedir: /var/httpd
-runtimedir: /var/run
-logfiledir: /var/log/httpd
-proxycachedir: /var/httpd/proxy
+localstatedir: @VARBASE@/httpd
+runtimedir: @VARBASE@/run
+logfiledir: @VARBASE@/log/httpd
+proxycachedir: @VARBASE@/httpd/proxy
</Layout>