Skip to content

Commit

Permalink
net-p2p/cardano-node: Mark BROKEN with OpenSSL 3
Browse files Browse the repository at this point in the history
Fails to compile with:
ld.lld: error: undefined symbol: DSA_generate_parameters

Approved by:	portmgr (blanket)
Sponsored by:	The FreeBSD Foundation
  • Loading branch information
5u623l20 committed Aug 17, 2023
1 parent ebf5ef7 commit 9c70f9d
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion net-p2p/cardano-node/Makefile
Expand Up @@ -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' \
Expand Down

0 comments on commit 9c70f9d

Please sign in to comment.