pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/databases/openldap-client openldap-client: Fix older s...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c96c65b58e65
branches:  trunk
changeset: 457740:c96c65b58e65
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Tue Aug 31 12:45:10 2021 +0000

description:
openldap-client: Fix older software that hardcodes libldap_r.

This library was merged into the libldap and removed in the recent release.

diffstat:

 databases/openldap-client/buildlink3.mk |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r e67ce11a58d2 -r c96c65b58e65 databases/openldap-client/buildlink3.mk
--- a/databases/openldap-client/buildlink3.mk   Tue Aug 31 12:14:40 2021 +0000
+++ b/databases/openldap-client/buildlink3.mk   Tue Aug 31 12:45:10 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.21 2021/06/14 09:04:23 adam Exp $
+# $NetBSD: buildlink3.mk,v 1.22 2021/08/31 12:45:10 jperkin Exp $
 
 .include "../../mk/bsd.fast.prefs.mk"
 
@@ -14,6 +14,9 @@
 # Export the deprecated API from the openldap-2.2.x releases.
 BUILDLINK_CPPFLAGS.openldap-client+=   -DLDAP_DEPRECATED
 
+# libldap_r was merged into libldap, fix older software that hardcoded it
+BUILDLINK_TRANSFORM+=  l:ldap_r:ldap
+
 CHECK_BUILTIN.openldap-client:=        yes
 .include "../../databases/openldap-client/builtin.mk"
 CHECK_BUILTIN.openldap-client:=        no



Home | Main Index | Thread Index | Old Index