git: 1f659f82a390 - main - security/libfido2: Unbreak build with DEFAULT_VERSIONS=ssl=openssl30
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 04 Oct 2023 01:36:13 UTC
The branch main has been updated by leres:
URL: https://cgit.FreeBSD.org/ports/commit/?id=1f659f82a39062ee43e69e81aad815c31e5d5d68
commit 1f659f82a39062ee43e69e81aad815c31e5d5d68
Author: Craig Leres <leres@FreeBSD.org>
AuthorDate: 2023-10-04 01:35:51 +0000
Commit: Craig Leres <leres@FreeBSD.org>
CommitDate: 2023-10-04 01:35:51 +0000
security/libfido2: Unbreak build with DEFAULT_VERSIONS=ssl=openssl30
Use OPENSSL_API_COMPAT to fix build on FreeBSD 13.2 with
DEFAULT_VERSIONS=ssl=openssl30
PR: 273909
Approved by: sunpoet (maintainer)
---
security/libfido2/Makefile | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/security/libfido2/Makefile b/security/libfido2/Makefile
index 555174d59a0c..021bde1de920 100644
--- a/security/libfido2/Makefile
+++ b/security/libfido2/Makefile
@@ -28,4 +28,8 @@ OPTIONS_DEFINE= DOCS
EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-openssl
.endif
+.if ${SSL_DEFAULT} == openssl30
+CFLAGS+= -DOPENSSL_API_COMPAT=0x10100000L
+.endif
+
.include <bsd.port.post.mk>