mirror of
https://git.freebsd.org/ports.git
synced 2025-05-24 23:16:33 -04:00
net/lavinmq: Fix build with openssl3
Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
08249b9f9b
commit
364f599401
1 changed files with 6 additions and 2 deletions
|
@ -11,8 +11,6 @@ WWW= https://www.lavinmq.com/
|
||||||
|
|
||||||
LICENSE= APACHE20
|
LICENSE= APACHE20
|
||||||
|
|
||||||
BROKEN_FreeBSD_14= Incompatible with OpenSSL 3.0 in 14-CURRENT
|
|
||||||
|
|
||||||
BUILD_DEPENDS= crystal:lang/crystal \
|
BUILD_DEPENDS= crystal:lang/crystal \
|
||||||
help2man:misc/help2man \
|
help2man:misc/help2man \
|
||||||
shards:devel/shards
|
shards:devel/shards
|
||||||
|
@ -40,6 +38,12 @@ OPTIONS_DEFINE= DOCS
|
||||||
SHARDS_ENV= --time --verbose --production --release --no-color --stats \
|
SHARDS_ENV= --time --verbose --production --release --no-color --stats \
|
||||||
--static
|
--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:
|
post-extract:
|
||||||
# force shards to use local paths, not git repos, for dependencies
|
# force shards to use local paths, not git repos, for dependencies
|
||||||
@${RM} ${WRKSRC}/shard.lock
|
@${RM} ${WRKSRC}/shard.lock
|
||||||
|
|
Loading…
Add table
Reference in a new issue