[python-ldap] Patch to successfully install python-ldap-2.4.8 on DragonFly BSD 3.0

Zhang Huangbin zhbmaillistonly at gmail.com
Thu Mar 1 21:38:18 CET 2012


Dear developers, 

Here's small/dirty patch to make python-ldap work on DragonFly BSD due to different library and include dirs. Hope you will consider fixing it in next release. Thanks for your great work. :)

# diff -Naur setup.cfg ../setup.cfg 
--- setup.cfg 2012-02-22 01:18:54.000000000 +0800
+++ ../setup.cfg 2012-03-02 04:32:40.764107000 +0800
@@ -1,6 +1,6 @@
[_ldap]
-library_dirs = /opt/openldap-RE24/lib /usr/lib
-include_dirs = /opt/openldap-RE24/include /usr/include/sasl /usr/include
+library_dirs = /opt/openldap-RE24/lib /usr/lib /usr/pkg/lib
+include_dirs = /opt/openldap-RE24/include /usr/include/sasl /usr/include /usr/pkg/include/sasl
defines = HAVE_SASL HAVE_TLS HAVE_LIBLDAP_R
extra_compile_args = 
extra_objects =



----
Zhang Huangbin

iRedMail: Open Source Mail Server Solution for Red Hat Enterprise Linux,
CentOS, Scientific Linux, Debian, Ubuntu, openSUSE, FreeBSD:
http://www.iredmail.org/




More information about the python-ldap mailing list