git: ca2a21cf7943 - main - www/dot-http: Mark BROKEN

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Fri, 18 Aug 2023 04:56:33 UTC
The branch main has been updated by bofh:

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

commit ca2a21cf79431eb2860fa5cb73fd5b0e0c1d09c5
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-08-18 03:51:01 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-08-18 04:56:22 +0000

    www/dot-http: Mark BROKEN
    
    Rust crate fails to detect OpenSSL 3 and later. So mark BROKEN on
    OSVERSION 1400092 and later.
    
    Approved by:    portmgr (blanket)
    Sponsored by:   The FreeBSD Foundation
---
 www/dot-http/Makefile | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/www/dot-http/Makefile b/www/dot-http/Makefile
index 592a153d6d81..83496bbd24e4 100644
--- a/www/dot-http/Makefile
+++ b/www/dot-http/Makefile
@@ -175,6 +175,12 @@ OPENSSLLIB=	/usr/lib
 
 PLIST_FILES=	bin/${PORTNAME}
 
+.include <bsd.port.options.mk>
+
+.if ( ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400092 && ${SSL_DEFAULT} == base ) || ${SSL_DEFAULT:Mopenssl3*}
+BROKEN=	Fails to detect OpenSSL 3  and later
+.endif
+
 post-install:
 	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}