[python-ldap] Patching python-ldap to compile with OpenBSD 5.3
Denis Fondras
pythonml at ledeuns.net
Mon Aug 12 11:34:51 CEST 2013
Hello all,
When installing openldap-client library on OpenBSD 5.3, include files
are copied to /usr/local/include. Include directory of python-ldap only
specifies /usr/include and thus can't find the include files when
building. Here is a small patch to correct that behaviour :
---8<--------------------
--- setup.cfg.orig 2013-08-12 11:28:46.547336143 +0200
+++ setup.cfg 2013-08-12 11:29:08.118817124 +0200
@@ -1,6 +1,6 @@
[_ldap]
library_dirs = /opt/openldap-RE24/lib /usr/lib
-include_dirs = /opt/openldap-RE24/include /usr/include/sasl /usr/include
+include_dirs = /opt/openldap-RE24/include /usr/include/sasl
/usr/include /usr/local/include /usr/local/include/sasl
defines = HAVE_SASL HAVE_TLS HAVE_LIBLDAP_R
extra_compile_args =
extra_objects =
---8<--------------------
Regards,
Denis
More information about the python-ldap
mailing list