Created attachment 226876 [details] Patch to fix the logic of the SSL + OPTION FETCH .if statement. Port refuses to build if ports ssl is in use, regardless of whether OPTION FETCH is selected. Build error: ===> Cleaning for openldap-client-2.4.59_1 ===> openldap-client-2.4.59_1 is marked as broken: using OpenSSL from ports and OPTION FETCH together is not supported. Options: ┌───────────────────────── openldap-client-2.4.59_1 ───────────────────────────┐ │ ┌──────────────────────────────────────────────────────────────────────────┐ │ │ │ [ ] DEBUG Build with debugging support │ │ │ │ [x] DOCS Build and/or install documentation │ │ │ │ [ ] FETCH Enable fetch(3) support │ │ │ │ [ ] GSSAPI With GSSAPI support │ │ │ └──────────────────────────────────────────────────────────────────────────┘ │ ├──────────────────────────────────────────────────────────────────────────────┤ │ < OK > <Cancel> │ └──────────────────────────────────────────────────────────────────────────────┘ My patch, fixing the logic by adding brackets around all the ssl parts: index 6146a8c82b34..3b72dc62fd46 100644 --- a/net/openldap24-server/Makefile +++ b/net/openldap24-server/Makefile @@ -509,7 +509,7 @@ PLIST_SUB+= OPENLDAP_MAJOR=${OPENLDAP_MAJOR} .include <bsd.port.pre.mk> -.if ${PORT_OPTIONS:MFETCH} && defined(OPENSSL_INSTALLED) && ${OPENSSL_INSTALLED} != "" || ${SSL_DEFAULT} != base +.if ${PORT_OPTIONS:MFETCH} && ( defined(OPENSSL_INSTALLED) && ${OPENSSL_INSTALLED} != "" || ${SSL_DEFAULT} != basea ) BROKEN= using OpenSSL from ports and OPTION FETCH together is not supported . endif
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=068a856800e69ed12db47f9c8cb93be8e85cb141 commit 068a856800e69ed12db47f9c8cb93be8e85cb141 Author: Robert Backhaus <robbak@gmail.com> AuthorDate: 2021-08-02 15:24:15 +0000 Commit: Xin LI <delphij@FreeBSD.org> CommitDate: 2021-08-02 15:26:39 +0000 net/openldap24-server: Fix build with port OpenSSL PR: ports/257559 Reported by: many net/openldap24-server/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
My bad, fixed, thanks for submission.