summaryrefslogtreecommitdiff
path: root/databases/openldap/Makefile.common
diff options
context:
space:
mode:
authormanu <manu>2012-09-28 12:28:53 +0000
committermanu <manu>2012-09-28 12:28:53 +0000
commitada4f48a52e2fdc1c23804e419fc642896e4966f (patch)
treed1a2ac54a0b25bbea94735174e00b7120110d25a /databases/openldap/Makefile.common
parent343b7969c4898fac125b7a05cfa038455ebadcd8 (diff)
downloadpkgsrc-ada4f48a52e2fdc1c23804e419fc642896e4966f.tar.gz
- fix openldap-smbk5pwd so that it links with -ldes on NetBSD
(otherwise Undefined PLT symbol "des_set_odd_parity") - make sure OpenLDAP links with pkgsrc's libfetch as base libfetch may be linked with a different OpenSSL than OpenLDAP.
Diffstat (limited to 'databases/openldap/Makefile.common')
-rw-r--r--databases/openldap/Makefile.common5
1 files changed, 4 insertions, 1 deletions
diff --git a/databases/openldap/Makefile.common b/databases/openldap/Makefile.common
index 46353392767..38088c53153 100644
--- a/databases/openldap/Makefile.common
+++ b/databases/openldap/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.32 2012/08/06 13:33:38 adam Exp $
+# $NetBSD: Makefile.common,v 1.33 2012/09/28 12:28:53 manu Exp $
#
# used by databases/openldap-client/Makefile
# used by databases/openldap-cloak/Makefile
@@ -87,6 +87,9 @@ DB_CONFIG?= # empty
PTHREAD_OPTS+= require
+# This avoids linking with base libfetch.so, which depends on base OpenSSL.
+# causing crashes when openldap-client is linked with pkgsrc OpenSSL.
+.include "../../net/libfetch/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../security/tcp_wrappers/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"