diff options
| author | christos <christos@NetBSD.org> | 2021-08-14 16:17:57 +0000 |
|---|---|---|
| committer | christos <christos@NetBSD.org> | 2021-08-14 16:17:57 +0000 |
| commit | a3ed85abe420dc080c1b8d08d53a1419a3d973d3 (patch) | |
| tree | 8131e4d0671918d375c2f5266b463ebb2cc8e601 /external/ibm-public | |
| parent | 21fa4e7790ecb9ac7c23e967476e0097466537a1 (diff) | |
Adjust for new OpenLDAP
- use centralized library variables
- ldap_connect -> ldap_xconnect
Diffstat (limited to 'external/ibm-public')
| -rw-r--r-- | external/ibm-public/postfix/Makefile.inc | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/external/ibm-public/postfix/Makefile.inc b/external/ibm-public/postfix/Makefile.inc index 0b9791a06d8..cbbf43c6068 100644 --- a/external/ibm-public/postfix/Makefile.inc +++ b/external/ibm-public/postfix/Makefile.inc @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.inc,v 1.27 2021/04/12 03:57:06 mrg Exp $ +# $NetBSD: Makefile.inc,v 1.28 2021/08/14 16:17:57 christos Exp $ .include <bsd.own.mk> @@ -58,12 +58,8 @@ CPPFLAGS+= -DHAS_LDAP # Automatically link in libldap for a program. . if defined(PROG) -LDADD+= -lldap -llber -DPADD+= ${LIBLDAP} ${LIBLBER} -. if (${MKPIC} == "no" || (defined(LDSTATIC) && ${LDSTATIC} != "")) -DPADD+= ${LIBSSL} ${LIBCRYPTO} -LDADD+= -lssl -lcrypto -. endif +LDADD+= ${LIBLDAP_LDADD} +DPADD+= ${LIBLDAP_DPADD} . endif .endif # USE_LDAP != no |
