net/asterisk16: Fix build with openssl3

Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Muhammad Moinur Rahman 2023-07-26 19:27:16 +02:00
parent 364f599401
commit 4cf3d6b936

View file

@ -195,8 +195,7 @@ CXX= clang++${LLVM_VERSION}
.endif
.if ( ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400092 && ${SSL_DEFAULT} == base ) || ${SSL_DEFAULT:Mopenssl3*}
IGNORE_SSL= base openssl30 openssl31
IGNORE_SSL_REASON= Missing upstream support for OpenSSL 3.0.0 and later in this version
CXXFLAGS+= -DOPENSSL_API_COMPAT=0x30000000L
.endif
.include <bsd.port.pre.mk>