diff options
author | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2023-02-08 04:50:40 -0600 |
---|---|---|
committer | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2023-02-08 04:53:56 -0600 |
commit | 6e1233be229212a0496f42d611bd40f3e3a628da (patch) | |
tree | 7be6239b98a0dff1d377ec09f371b55fb10dd508 /mail/spamass-milter | |
parent | www/mybb: Update to 1.8.33 (diff) |
Mk/**ldap.mk: Convert USE_LDAP to USES=ldap
Convert the USE_LDAP=yes to USES=ldap and adds the following features:
- Adds the argument USES=ldap:server to add openldap2{4|5|6}-server as
RUN_DEPENDS
- Adds the argument USES=ldap<version> and replaces WANT_OPENLDAP_VER
- Adds OPENLDAP versions in bsd.default-versions.mk
- Adds USE_OPENLDAP/WANT_OPENLDAP_VER in Mk/bsd.sanity.mk
- Changes consumers to use the features
Reviewed by: delphij
Approved by: portmgr
Differential Revision: https://reviews.freebsd.org/D38233
Diffstat (limited to 'mail/spamass-milter')
-rw-r--r-- | mail/spamass-milter/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/spamass-milter/Makefile b/mail/spamass-milter/Makefile index cd302a64ebb1..1148b1b1acc0 100644 --- a/mail/spamass-milter/Makefile +++ b/mail/spamass-milter/Makefile @@ -24,7 +24,7 @@ WITH_LDAP=yes .endif .if ${PORT_OPTIONS:MLDAP} -USE_OPENLDAP=yes +USE+= ldap CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib .endif |