diff options
author | xtraeme <xtraeme@pkgsrc.org> | 2004-07-17 00:18:31 +0000 |
---|---|---|
committer | xtraeme <xtraeme@pkgsrc.org> | 2004-07-17 00:18:31 +0000 |
commit | 5603f2f0e0caf7a35f06bf9389ac87162b9a7123 (patch) | |
tree | d08b7279b8ded5e778871c2c23d2ad94b18f02fb /www | |
parent | 62ff4d6ca416e9899e022f9ec507506c19b4f1af (diff) | |
download | pkgsrc-5603f2f0e0caf7a35f06bf9389ac87162b9a7123.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/Makefile | 9 |
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 |