$NetBSD: patch-aa,v 1.9 2012/02/28 00:01:05 adam Exp $

--- setup.cfg.orig	2012-02-21 17:18:54.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
