--- a/components/apr-util/Makefile Tue Nov 06 08:46:28 2012 -0800
+++ b/components/apr-util/Makefile Tue Nov 06 13:28:59 2012 -0800
@@ -44,7 +44,8 @@
CONFIGURE_OPTIONS += --with-mysql=/usr/mysql/5.1
CONFIGURE_OPTIONS += --with-expat=/usr
CONFIGURE_OPTIONS += --with-sqlite3=/usr
-CONFIGURE_OPTIONS += --with-ldap=ldap
+CONFIGURE_OPTIONS += --with-ldap=ldap_r-2.4
+CONFIGURE_OPTIONS += --with-ldap-include=/usr/include/openldap
CONFIGURE_OPTIONS += --without-odbc
CONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
CONFIGURE_OPTIONS.32 += --enable-layout=OpenSolaris