summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorxtraeme <xtraeme@pkgsrc.org>2004-07-17 00:18:31 +0000
committerxtraeme <xtraeme@pkgsrc.org>2004-07-17 00:18:31 +0000
commit0c32c0c9a2f78ce67ed6a0c542006899f653235c (patch)
treed08b7279b8ded5e778871c2c23d2ad94b18f02fb /www
parent593fe1a6f1623481f15cee58ce779ca19b463f55 (diff)
downloadpkgsrc-0c32c0c9a2f78ce67ed6a0c542006899f653235c.tar.gz
Enable OpenLDAP support if APR_USE_OPENLDAP == [Yy][Ee][Ss].
(ldap and auth_ldap modules). This closes PR pkg/26166.
Diffstat (limited to 'www')
-rw-r--r--www/apache2/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/www/apache2/Makefile b/www/apache2/Makefile
index 4a9fce0de46..619ad23b003 100644
--- a/www/apache2/Makefile
+++ b/www/apache2/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.41 2004/07/15 04:38:17 adrianp Exp $
+# $NetBSD: Makefile,v 1.42 2004/07/17 00:18:31 xtraeme Exp $
PKGNAME= apache-${APACHE_VERSION}
CATEGORIES= www
@@ -32,6 +32,13 @@ CONFIGURE_ARGS+= --with-apr-util=${LOCALBASE}
DFLT_APACHE_MODULES= all
DFLT_APACHE_MODULES+= proxy proxy_connect proxy_ftp proxy_http
DFLT_APACHE_MODULES+= ssl
+
+# OpenLDAP support
+.if !empty(APR_USE_OPENLDAP:M[Yy][Ee][Ss])
+DFLT_APACHE_MODULES+= ldap auth_ldap
+.include "../../databases/openldap/buildlink3.mk"
+.endif
+
APACHE_MODULES?= ${DFLT_APACHE_MODULES}
CONFIGURE_ARGS+= --enable-modules="${APACHE_MODULES}"
CONFIGURE_ARGS+= --enable-so