diff options
author | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2023-07-26 17:18:33 +0000 |
---|---|---|
committer | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2023-07-26 17:47:05 +0000 |
commit | 364f59940199e45a608ea2c53363d08243e3aa93 (patch) | |
tree | 4673dfaa4b6ef4dee0ad6a72c0b2b1e7ccd1ce24 /net/lavinmq | |
parent | 08249b9f9bb312969e0fb526e01b1befc1360afb (diff) |
Diffstat (limited to 'net/lavinmq')
-rw-r--r-- | net/lavinmq/Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/net/lavinmq/Makefile b/net/lavinmq/Makefile index 5ae75f50cfc0..bf6c119b8173 100644 --- a/net/lavinmq/Makefile +++ b/net/lavinmq/Makefile @@ -11,8 +11,6 @@ WWW= https://www.lavinmq.com/ LICENSE= APACHE20 -BROKEN_FreeBSD_14= Incompatible with OpenSSL 3.0 in 14-CURRENT - BUILD_DEPENDS= crystal:lang/crystal \ help2man:misc/help2man \ shards:devel/shards @@ -40,6 +38,12 @@ OPTIONS_DEFINE= DOCS SHARDS_ENV= --time --verbose --production --release --no-color --stats \ --static +.include <bsd.port.options.mk> + +.if ( ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400092 && ${SSL_DEFAULT} == base ) || ${SSL_DEFAULT:Mopenssl3*} +CXXFLAGS+= -DOPENSSL_API_COMPAT=0x30000000L +.endif + post-extract: # force shards to use local paths, not git repos, for dependencies @${RM} ${WRKSRC}/shard.lock |