Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Jul 2023 22:16:26 GMT
From:      Muhammad Moinur Rahman <bofh@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 6380a14f7b90 - main - net/asterisk18: Fix build with openssl3
Message-ID:  <202307232216.36NMGQl6041128@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=6380a14f7b9099d7b93902bcd28a1a78b84d5bc8

commit 6380a14f7b9099d7b93902bcd28a1a78b84d5bc8
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-07-23 20:55:23 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-07-23 22:16:15 +0000

    net/asterisk18: Fix build with openssl3
    
    Sponsored by:   The FreeBSD Foundation
---
 net/asterisk18/Makefile | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/net/asterisk18/Makefile b/net/asterisk18/Makefile
index b708994f1937..da1d0195e96e 100644
--- a/net/asterisk18/Makefile
+++ b/net/asterisk18/Makefile
@@ -227,6 +227,10 @@ CXX=            clang++${LLVM_VERSION}
 
 .include <bsd.port.pre.mk>
 
+.if ( ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400092 && ${SSL_DEFAULT} == base ) || ${SSL_DEFAULT:Mopenssl3*}
+CFLAGS+=      -DOPENSSL_API_COMPAT=0x30000000L"
+.endif
+
 .if empty(ICONV_LIB)
 CONFIGURE_ARGS+=ac_cv_lib_iconv_iconv_open=no \
 		ac_cv_lib_iconv_libiconv_open=no



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202307232216.36NMGQl6041128>