git: 247ad518039d - main - www/squid-devel: Mark BROKEN_SSL for 14

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sat, 05 Aug 2023 14:46:51 UTC
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=247ad518039d792108091ea98db80035b4636c33

commit 247ad518039d792108091ea98db80035b4636c33
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-08-05 14:06:23 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-08-05 14:46:35 +0000

    www/squid-devel: Mark BROKEN_SSL for 14
    
    Fails to build on OpenSSL 3 and newr.
    
    Approved by:    portmgr (blanket)
    Sponsored by:   The FreeBSD Foundation
---
 www/squid-devel/Makefile | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/www/squid-devel/Makefile b/www/squid-devel/Makefile
index ee9f1b3989d6..f281ded5256b 100644
--- a/www/squid-devel/Makefile
+++ b/www/squid-devel/Makefile
@@ -30,8 +30,6 @@ DEPRECATED=	Not used anymore to create rc-state releases
 EXPIRATION_DATE=	2023-09-01
 
 USES=		compiler:c++11-lib cpe perl5 shebangfix tar:xz
-BROKEN_SSL=	openssl30 openssl31
-BROKEN_SSL_REASON=	no matching function for call to 'CRYPTO_get_ex_new_index'
 CONFLICTS=	squid3-* squid-4.*
 CPE_VENDOR=	squid-cache
 SHEBANG_FILES=	scripts/*.pl contrib/*.pl tools/*.pl
@@ -291,6 +289,11 @@ WITH_DEBUG?=		yes
 # Finally, add additional user specified configuration options:
 CONFIGURE_ARGS+=	${SQUID_CONFIGURE_ARGS}
 
+.if ( ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400092 && ${SSL_DEFAULT} == base ) || ${SSL_DEFAULT:Mopenssl3*}
+BROKEN_SSL=	base openssl30 openssl31
+BROKEN_SSL_REASON=	no matching function for call to 'CRYPTO_get_ex_new_index'
+.endif
+
 post-patch:
 	@(cd ${WRKSRC} && ${REINPLACE_CMD} \
 		-e 's|\.conf\.default|.conf.sample|' \