$NetBSD: patch-aa,v 1.13 2015/01/12 11:46:29 adam Exp $

--- setup.cfg.orig	2015-01-10 17:19:29.000000000 +0000
+++ setup.cfg
@@ -1,10 +1,10 @@
 [_ldap]
-library_dirs = /opt/openldap-RE24/lib /usr/lib
-include_dirs = /opt/openldap-RE24/include /usr/include/sasl /usr/include
-defines = HAVE_SASL HAVE_TLS HAVE_LIBLDAP_R
+library_dirs = @PY_LDAP_LIBRARY_DIRS@
+include_dirs = @PY_LDAP_INCLUDE_DIRS@
+defines = HAVE_TLS HAVE_LIBLDAP_R
 extra_compile_args = 
 extra_objects = 
-libs = ldap_r
+libs = @PY_LDAP_LIBS@
 
 [install]
 compile = 1
