summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjlam <jlam>2005-08-20 03:36:25 +0000
committerjlam <jlam>2005-08-20 03:36:25 +0000
commit6573dd3c05264bf75bd1a6f416cb8be3ecd64452 (patch)
tree73905d35863a26d99fae9e0106e128c6ad100a9a
parent3ff93bb5e7b40f5fe7c944f863b3b9284d6743ee (diff)
downloadpkgsrc-6573dd3c05264bf75bd1a6f416cb8be3ecd64452.tar.gz
The htdocs directory is under ${PREFIX}, so use REQD_DIRS instead of
MAKE_DIRS. This causes the htdocs directory to be conditionally removed every time, regardless of the value of PKG_CONFIG. Bump the PKGREVISION to 3.
-rw-r--r--www/apache2/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/www/apache2/Makefile b/www/apache2/Makefile
index 135ea16fc2f..351a5c01ef7 100644
--- a/www/apache2/Makefile
+++ b/www/apache2/Makefile
@@ -1,10 +1,10 @@
-# $NetBSD: Makefile,v 1.78 2005/08/19 18:12:39 jlam Exp $
+# $NetBSD: Makefile,v 1.79 2005/08/20 03:36:25 jlam Exp $
.include "Makefile.common"
PKGNAME= apache-${APACHE_VERSION}
CATEGORIES= www
-PKGREVISION= 2
+PKGREVISION= 3
HOMEPAGE= http://httpd.apache.org/
COMMENT= Apache HTTP (Web) server, version 2
@@ -79,8 +79,8 @@ CONF_FILES+= ${EGDIR}/magic ${PKG_SYSCONFDIR}/magic
CONF_FILES+= ${EGDIR}/mime.types ${PKG_SYSCONFDIR}/mime.types
RCD_SCRIPTS= apache
-MAKE_DIRS= ${PREFIX}/share/httpd
-MAKE_DIRS+= ${PREFIX}/share/httpd/htdocs
+REQD_DIRS= ${PREFIX}/share/httpd
+REQD_DIRS+= ${PREFIX}/share/httpd/htdocs
OWN_DIRS= ${VARBASE}/log/httpd
OWN_DIRS+= ${VARBASE}/db/httpd
OWN_DIRS_PERMS+= ${VARBASE}/db/httpd/proxy ${APACHE_USER} ${APACHE_GROUP} 0755