git: f133679f3280 - main - mail/datovka: Fix build with openssl3
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 26 Jul 2023 15:04:09 UTC
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=f133679f32802d684c47b07678ddb3b3bca56596 commit f133679f32802d684c47b07678ddb3b3bca56596 Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-07-26 14:10:40 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-07-26 15:04:01 +0000 mail/datovka: Fix build with openssl3 Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation --- mail/datovka/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/mail/datovka/Makefile b/mail/datovka/Makefile index b9b2c561db02..12435d8572dc 100644 --- a/mail/datovka/Makefile +++ b/mail/datovka/Makefile @@ -19,4 +19,10 @@ USE_GL= gl USE_QT= buildtools core gui network printsupport sql svg websockets \ widgets -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ( ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400092 && ${SSL_DEFAULT} == base ) || ${SSL_DEFAULT:Mopenssl3*} +CXXFLAGS+= -DOPENSSL_API_COMPAT=0x30000000L" +.endif + +.include <bsd.port.post.mk>