git: b6eeb9560829 - main - databases/movine: Mark BROKEN_SSL

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Wed, 16 Aug 2023 05:34:54 UTC
The branch main has been updated by bofh:

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

commit b6eeb95608293b61aaeef72b8377b9639ebd95c2
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-08-16 05:33:39 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-08-16 05:34:38 +0000

    databases/movine: Mark BROKEN_SSL
    
    Rust crate fails to detect OpenSSL 3 and later.
    
    Approved by:    portmgr (blanket)
    Sponsored by:   The FreeBSD Foundation
---
 databases/movine/Makefile | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/databases/movine/Makefile b/databases/movine/Makefile
index 03749c7ef005..c49249e29fa8 100644
--- a/databases/movine/Makefile
+++ b/databases/movine/Makefile
@@ -178,6 +178,13 @@ OPENSSLLIB=	/usr/lib
 
 PLIST_FILES=	bin/${PORTNAME}
 
+.include <bsd.port.options.mk>
+
+.if ( ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400092 && ${SSL_DEFAULT} == base ) || ${SSL_DEFAULT:Mopenssl3*}
+BROKEN_SSL=	base openssl30 openssl31
+BROKEN_SSL_REASON=	Fails to detect OpenSSL 3 and later
+.endif
+
 post-install:
 	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}