mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-19 08:13:21 +00:00
multimedia/pipewire: Unbreak build with DEFAULT_VERSIONS=ssl=openssl3X
Use OPENSSL_API_COMPAT to fix build on FreeBSD 13.2 with DEFAULT_VERSIONS=ssl=openssl3[012] PR: 274419 Approved by: arrowd (maintainer)
This commit is contained in:
parent
b22fb48535
commit
75ff86d0e5
@ -109,4 +109,10 @@ post-install-MEDIASESSION-on:
|
||||
${INSTALL_DATA} ${WRKDIR}/10-alsa-default.conf \
|
||||
${STAGEDIR}${ETCDIR}/${PORTNAME}.conf.d
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${SSL_DEFAULT:C,3[0-9],3,} == openssl3
|
||||
CFLAGS+= -DOPENSSL_API_COMPAT=0x10100000L
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user