summaryrefslogtreecommitdiff
path: root/databases/py-ldap/patches/patch-aa
blob: b6aa6e9d21dfd91070f47f2ec2c024d8230cb8a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
$NetBSD: patch-aa,v 1.5 2007/12/16 15:34:14 adam Exp $

--- setup.cfg.orig	2006-11-15 18:26:26.000000000 +0100
+++ setup.cfg
@@ -7,8 +7,8 @@
 # for wrapping OpenLDAP 2 libs
 [_ldap]
 
-library_dirs = /usr/local/openldap-2.3/lib
-include_dirs = /usr/local/openldap-2.3/include /usr/include/sasl
+library_dirs = @PY_LDAP_LIBRARY_DIRS@
+include_dirs = @PY_LDAP_INCLUDE_DIRS@
 
 extra_compile_args = 
 extra_objects = 
@@ -23,7 +23,7 @@ extra_objects = 
 # Support for StartTLS/LDAPS, SASL bind and reentrant libldap_r.
 # This needs recent OpenLDAP built with
 # ./configure --with-cyrus-sasl --with-tls
-libs = ldap_r lber sasl2 ssl crypto
+libs = @PY_LDAP_LIBS@
 
 # Installation options
 [install]