git: 4cf3d6b93649 - main - net/asterisk16: Fix build with openssl3
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 26 Jul 2023 17:47:17 UTC
The branch main has been updated by bofh:
URL: https://cgit.FreeBSD.org/ports/commit/?id=4cf3d6b936491fcfce238595c05f0581416284b8
commit 4cf3d6b936491fcfce238595c05f0581416284b8
Author: Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-07-26 17:27:16 +0000
Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-07-26 17:47:05 +0000
net/asterisk16: Fix build with openssl3
Sponsored by: The FreeBSD Foundation
---
net/asterisk16/Makefile | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/net/asterisk16/Makefile b/net/asterisk16/Makefile
index a96453c2e9b9..69584ffe0bbb 100644
--- a/net/asterisk16/Makefile
+++ b/net/asterisk16/Makefile
@@ -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>