aboutsummaryrefslogtreecommitdiff
path: root/www/apache20
diff options
context:
space:
mode:
authorPhilip M. Gollucci <pgollucci@FreeBSD.org>2010-05-07 04:59:28 +0000
committerPhilip M. Gollucci <pgollucci@FreeBSD.org>2010-05-07 04:59:28 +0000
commitbac9ac8d0a06c7798618d106ef638a0351173458 (patch)
treefcfb3cac6fd75c46a8d5b4e27b54856ffee30ccb /www/apache20
parentcb88b0313e9191df0fc8819dccd31b1bf95fe1cf (diff)
Notes
Diffstat (limited to 'www/apache20')
-rw-r--r--www/apache20/Makefile8
-rw-r--r--www/apache20/files/patch-modules__experimental__config.m411
2 files changed, 15 insertions, 4 deletions
diff --git a/www/apache20/Makefile b/www/apache20/Makefile
index 15f7a687662b..98815f463cdf 100644
--- a/www/apache20/Makefile
+++ b/www/apache20/Makefile
@@ -45,7 +45,7 @@ OPTIONS= \
DEBUG "Enable debugging" Off \
EXCEPTION_HOOK "Enable Exception Hook" On \
LDAP "Enable LDAP Support" Off \
- THREADS "Enable threads in apr Off
+ THREADS "Enable threads in apr" Off
.if defined(WITH_KQUEUE_SUPPORT)
EXTRA_PATCHES+= ${FILESDIR}/exp-apr-kqueue.patch
@@ -136,9 +136,9 @@ APACHEDIR= ${MASTERDIR}
.if defined (WITH_LDAP) || defined (WITH_LDAP_MODULES)
USE_OPENLDAP= YES
-CONFIGURE_ARGS+= --with-ldap \
- --with-ldap-lib="${LOCALBASE}/lib" \
- --with-ldap-include="${LOCALBASE}/include"
+CONFIGURE_ARGS+= --enable-ldap=shared --enable-auth-ldap --with-ldap \
+ --with-ldap-lib="${LOCALBASE}/lib" \
+ --with-ldap-include="${LOCALBASE}/include"
.endif
.include "${APACHEDIR}/Makefile.doc"
diff --git a/www/apache20/files/patch-modules__experimental__config.m4 b/www/apache20/files/patch-modules__experimental__config.m4
new file mode 100644
index 000000000000..20e2c435d597
--- /dev/null
+++ b/www/apache20/files/patch-modules__experimental__config.m4
@@ -0,0 +1,11 @@
+--- modules/experimental/config.m4.orig 2010-05-07 00:41:44.796911069 -0400
++++ modules/experimental/config.m4 2010-05-07 00:41:27.000000000 -0400
+@@ -33,7 +33,7 @@
+ ldap_objects="util_ldap.lo util_ldap_cache.lo util_ldap_cache_mgr.lo"
+ APACHE_MODULE(ldap, LDAP caching and connection pooling services, $ldap_objects, , no)
+
+-auth_ldap_objects="mod_auth_ldap.lo"
++auth_ldap_objects="mod_auth_ldap.lo $ldap_objects"
+ APACHE_MODULE(auth_ldap, LDAP based authentication, $auth_ldap_objects, , no)
+
+ APACHE_MODPATH_FINISH