git: e17f3dc30db7 - main - databases/mysql57-{client|server}: Mark IGNORE with OpenSSL 3

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Thu, 17 Aug 2023 21:03:52 UTC
The branch main has been updated by bofh:

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

commit e17f3dc30db79700fe1f72e35c38e3ca0644155f
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-08-17 20:52:17 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-08-17 21:03:35 +0000

    databases/mysql57-{client|server}: Mark IGNORE with OpenSSL 3
    
    OpenSSL 3 has been merged into OSVERSION 1400092 so also mark IGNORE
    for 14 and OSVERSION 1400092 onwards.
    
    Approved by:    portmgr (blanket)
    Sponsored by:   The FreeBSD Foundation
---
 databases/mysql57-server/Makefile | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/databases/mysql57-server/Makefile b/databases/mysql57-server/Makefile
index 06fdb430ddee..36e5fb57ad01 100644
--- a/databases/mysql57-server/Makefile
+++ b/databases/mysql57-server/Makefile
@@ -20,8 +20,6 @@ WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
 SLAVEDIRS=	databases/mysql57-client
 USES=		bison:build cmake:noninja compiler:c11 compiler:c++11-lib \
 		cpe groff:run libedit localbase perl5 shebangfix ssl
-IGNORE_SSL=	openssl30 openssl31
-IGNORE_SSL_REASON=	Upstream only supports OpenSSL 1.0.1 upto 1.1.X
 CPE_VENDOR=	oracle
 
 USE_PERL5=	run
@@ -150,6 +148,10 @@ CMAKE_ARGS+=	-DWITH_AUTHENTICATION_LDAP=0
 
 .include <bsd.port.pre.mk>
 
+.if ( ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400092 && ${SSL_DEFAULT} == base ) || ${SSL_DEFAULT:Mopenssl3*}
+IGNORE=	Upstream only supports OpenSSL 1.0.1 upto 1.1.X
+.endif
+
 .if ${SSL_DEFAULT} == base
 CMAKE_ARGS+=		-DWITH_SSL=system
 .else