summaryrefslogtreecommitdiff
path: root/www/apache22
diff options
context:
space:
mode:
authorseb <seb>2009-04-24 11:21:16 +0000
committerseb <seb>2009-04-24 11:21:16 +0000
commit515c71200255579358966b4e5bc836b4d4e96690 (patch)
tree4c309a52476d16f6fd374471273385079d899610 /www/apache22
parent1d15f85b47690fbc1b63a8a55ad1f7919a0ad61b (diff)
downloadpkgsrc-515c71200255579358966b4e5bc836b4d4e96690.tar.gz
Fix PLIST when LDAP support is activated, because apr-util package
has it, and shared modules option is not activated: LDAP related modules are, like other modules, not installed as shared objects so they should not be added to the PLIST. Approved by MAINTAINER.
Diffstat (limited to 'www/apache22')
-rw-r--r--www/apache22/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/www/apache22/Makefile b/www/apache22/Makefile
index 2f0a9d2090a..5115d25dd79 100644
--- a/www/apache22/Makefile
+++ b/www/apache22/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.41 2009/04/14 18:26:34 sno Exp $
+# $NetBSD: Makefile,v 1.42 2009/04/24 11:21:16 seb Exp $
DISTNAME= httpd-2.2.11
PKGREVISION= 2
@@ -98,15 +98,17 @@ DFLT_APACHE_MODULES+= cgid dav_lock proxy_ajp proxy_balancer
PLIST_SRC+= ${PKGDIR}/PLIST
+.include "options.mk"
+
# LDAP support
PLIST_VARS+= ldap
.if !empty(PKG_BUILD_OPTIONS.apr-util:Mldap)
DFLT_APACHE_MODULES+= ldap authnz_ldap
+. if !empty(PKG_OPTIONS:Mapache-shared-modules)
PLIST.ldap= yes
+. endif
.endif
-.include "options.mk"
-
APACHE_USER?= www
APACHE_GROUP?= www
PKG_GROUPS= ${APACHE_GROUP}