diff options
author | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2023-02-08 10:50:40 +0000 |
---|---|---|
committer | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2023-02-08 10:53:56 +0000 |
commit | 6e1233be229212a0496f42d611bd40f3e3a628da (patch) | |
tree | 7be6239b98a0dff1d377ec09f371b55fb10dd508 /sysutils/am-utils | |
parent | 77a73a3ae570d10c718a0adcdb1b373c2d6dd8fc (diff) | |
download | ports-6e1233be229212a0496f42d611bd40f3e3a628da.tar.gz ports-6e1233be229212a0496f42d611bd40f3e3a628da.zip |
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 'sysutils/am-utils')
-rw-r--r-- | sysutils/am-utils/Makefile | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sysutils/am-utils/Makefile b/sysutils/am-utils/Makefile index 2fb536baebc6..78e8ddee5e6a 100644 --- a/sysutils/am-utils/Makefile +++ b/sysutils/am-utils/Makefile @@ -34,8 +34,7 @@ INSTALL_TARGET= install-strip INFO= am-utils PORTDOCS= AUTHORS BUGS FAQ NEWS README.attrcache -OPENLDAP_USES= localbase:ldflags -OPENLDAP_USE= OPENLDAP=yes +OPENLDAP_USES= ldap localbase:ldflags OPENLDAP_CONFIGURE_WITH= ldap OPENLDAP_PORTDOCS= README.ldap ldap-id.txt ldap.schema |