Skip to content

Commit

Permalink
mail/datovka: Fix build with openssl3
Browse files Browse the repository at this point in the history
Approved by:	portmgr (blanket)
Sponsored by:	The FreeBSD Foundation
  • Loading branch information
5u623l20 committed Jul 26, 2023
1 parent 2ddb526 commit f133679
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion mail/datovka/Makefile
Expand Up @@ -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>

0 comments on commit f133679

Please sign in to comment.