git: 9c70f9d4832b - main - net-p2p/cardano-node: Mark BROKEN with OpenSSL 3

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

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

commit 9c70f9d4832ba53cb18c664c356670c653449d4d
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-08-17 11:10:16 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-08-17 18:34:19 +0000

    net-p2p/cardano-node: Mark BROKEN with OpenSSL 3
    
    Fails to compile with:
    ld.lld: error: undefined symbol: DSA_generate_parameters
    
    Approved by:    portmgr (blanket)
    Sponsored by:   The FreeBSD Foundation
---
 net-p2p/cardano-node/Makefile | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/net-p2p/cardano-node/Makefile b/net-p2p/cardano-node/Makefile
index c3d6ec10fb6c..8d5d9ba91442 100644
--- a/net-p2p/cardano-node/Makefile
+++ b/net-p2p/cardano-node/Makefile
@@ -480,13 +480,19 @@ USE_CABAL=	Diff-0.4.1 \
 		yaml-0.11.11.0_2 \
 		zlib-0.6.3.0_2 \
 		zlib-bindings-0.1.1.5_2
-		
+
 CABAL_PROJECT=		append
 CABAL_EXECUTABLES=	cardano-node cardano-cli cardano-submit-api cardano-tracer
 CABAL_REPOSITORIES=	chap
 
 WITH_LTO=	yes
 
+.include <bsd.port.options.mk>
+
+.if ( ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400092 && ${SSL_DEFAULT} == base ) || ${SSL_DEFAULT:Mopenssl3*}
+BROKEN=	fails to compile undefined symbol: DSA_generate_parameters
+.endif
+
 post-patch:
 	${REINPLACE_CMD} -e 's/$$(gitRevFromGit)/"${CARDANO_NODE_HASH}"/' \
 			 -e '/Cardano.Git.RevFromGit/d' \