summaryrefslogtreecommitdiff
path: root/www/apache/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/apache/Makefile')
-rw-r--r--www/apache/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/www/apache/Makefile b/www/apache/Makefile
index 56b905bdb3e..2d0aac03303 100644
--- a/www/apache/Makefile
+++ b/www/apache/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.53 2000/10/17 18:14:15 jlam Exp $
+# $NetBSD: Makefile,v 1.54 2000/12/11 00:03:08 jlam Exp $
#
# The fourth number in the PKGNAME version indicates a NetBSD pkg revision
# (to indicate changes in the shipped third party patches such as the mod_ssl
@@ -44,10 +44,12 @@ CONFIGURE_ENV+= OPTIM="${OPTIM}"
.include "../../mk/bsd.prefs.mk"
.if defined(APACHE_SUEXEC) && ${APACHE_SUEXEC} == YES
+APACHE_USER?= www
SUEXEC_PATH= /bin:/usr/bin:${PREFIX}/bin:/usr/local/bin
-CONFIGURE_ARGS+= --enable-suexec --suexec-caller=www \
+CONFIGURE_ARGS+= --enable-suexec --suexec-caller=${APACHE_USER} \
--suexec-safepath='${SUEXEC_PATH}'
PLIST_SRC= ${PKGDIR}/PLIST.suexec
+BUILD_DEFS+= APACHE_USER
.endif
.if !defined(NOPIC)