mirror of
https://git.freebsd.org/ports.git
synced 2025-06-01 02:46:27 -04:00
net/asterisk16: Fix build with OpenSSL 3
Although astersisk itself builds fine with OpenSSL 3 however one of it's internal project pjproject fails to detect OpenSSL 3 and picks up gnutls as a dependency but fails to detect the library. Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
8b7faa2b66
commit
c65b98e8b1
1 changed files with 3 additions and 1 deletions
|
@ -228,7 +228,9 @@ 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
|
||||
LIB_DEPENDS+= libgnutls.so:security/gnutls
|
||||
CFLAGS+= -DOPENSSL_API_COMPAT=0x10100000L
|
||||
LDFLAGS+= -lgnutls
|
||||
.endif
|
||||
|
||||
.if empty(ICONV_LIB)
|
||||
|
|
Loading…
Add table
Reference in a new issue