Date: Thu, 12 Oct 2023 20:14:40 GMT From: Craig Leres <leres@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 75ff86d0e516 - main - multimedia/pipewire: Unbreak build with DEFAULT_VERSIONS=ssl=openssl3X Message-ID: <202310122014.39CKEeCW073461@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by leres: URL: https://cgit.FreeBSD.org/ports/commit/?id=75ff86d0e516e6291be7e25cc30bb14fbda10bf1 commit 75ff86d0e516e6291be7e25cc30bb14fbda10bf1 Author: Craig Leres <leres@FreeBSD.org> AuthorDate: 2023-10-12 20:14:10 +0000 Commit: Craig Leres <leres@FreeBSD.org> CommitDate: 2023-10-12 20:14:10 +0000 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) --- multimedia/pipewire/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/multimedia/pipewire/Makefile b/multimedia/pipewire/Makefile index fb37bef94710..d5d154acd4e5 100644 --- a/multimedia/pipewire/Makefile +++ b/multimedia/pipewire/Makefile @@ -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>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202310122014.39CKEeCW073461>