summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorseb <seb@pkgsrc.org>2009-04-24 11:21:16 +0000
committerseb <seb@pkgsrc.org>2009-04-24 11:21:16 +0000
commit9d2f15190d3e4f37d2fdec1589a5a25b0edcdd00 (patch)
tree4c309a52476d16f6fd374471273385079d899610 /www
parent3375ec6a4ce62a6a1bcaa604972b6d08b507be9e (diff)
downloadpkgsrc-9d2f15190d3e4f37d2fdec1589a5a25b0edcdd00.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')
-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}