summaryrefslogtreecommitdiff
path: root/www/apache22
diff options
context:
space:
mode:
authorjlam <jlam>2008-04-12 22:42:57 +0000
committerjlam <jlam>2008-04-12 22:42:57 +0000
commit84db467ec7c8386066718011f8d47775d5608811 (patch)
treefdd67c81079412bf94013749a954125434a9baca /www/apache22
parent7082f8c2044621c8641f3c82a2da95c2d442048c (diff)
downloadpkgsrc-84db467ec7c8386066718011f8d47775d5608811.tar.gz
Convert to use PLIST_VARS instead of manually passing "@comment "
through PLIST_SUBST to the plist module.
Diffstat (limited to 'www/apache22')
-rw-r--r--www/apache22/PLIST4
-rw-r--r--www/apache22/options.mk7
2 files changed, 5 insertions, 6 deletions
diff --git a/www/apache22/PLIST b/www/apache22/PLIST
index 33f063e7302..d5420596657 100644
--- a/www/apache22/PLIST
+++ b/www/apache22/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.4 2008/01/21 15:07:10 xtraeme Exp $
+@comment $NetBSD: PLIST,v 1.5 2008/04/12 22:43:13 jlam Exp $
include/httpd/ap_compat.h
include/httpd/ap_config.h
include/httpd/ap_config_auto.h
@@ -75,7 +75,7 @@ sbin/httxt2dbm
sbin/logresolve
sbin/mkcert
sbin/rotatelogs
-${SUEXEC_COMMENT}sbin/suexec
+${PLIST.suexec}sbin/suexec
share/examples/httpd/extra/httpd-autoindex.conf
share/examples/httpd/extra/httpd-dav.conf
share/examples/httpd/extra/httpd-default.conf
diff --git a/www/apache22/options.mk b/www/apache22/options.mk
index 57c12e5f48a..6933435a6ae 100644
--- a/www/apache22/options.mk
+++ b/www/apache22/options.mk
@@ -1,10 +1,11 @@
-# $NetBSD: options.mk,v 1.2 2007/07/04 20:55:04 jlam Exp $
+# $NetBSD: options.mk,v 1.3 2008/04/12 22:43:13 jlam Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.apache
PKG_SUPPORTED_OPTIONS= suexec
.include "../../mk/bsd.options.mk"
+PLIST_VARS+= suexec
.if !empty(PKG_OPTIONS:Msuexec)
PKG_USERS_VARS+= APACHE_USER
BUILD_DEFS+= VARBASE APACHE_SUEXEC_PATH
@@ -23,7 +24,5 @@ APACHE_SUEXEC_CONFIGURE_ARGS+= \
APACHE_MODULES+= suexec
CONFIGURE_ARGS+= ${APACHE_SUEXEC_CONFIGURE_ARGS:M--with-suexec-*}
BUILD_DEFS+= APACHE_SUEXEC_CONFIGURE_ARGS
-PLIST_SUBST+= SUEXEC_COMMENT=
-.else
-PLIST_SUBST+= SUEXEC_COMMENT="@comment "
+PLIST.suexec= yes
.endif