diff options
author | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2023-07-23 20:16:50 +0000 |
---|---|---|
committer | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2023-07-23 22:16:15 +0000 |
commit | 12148e9752dba827fd018f173f75e06d60cde28d (patch) | |
tree | db4a99d2b4dbc90c680dd203d2b11755dbc971b4 | |
parent | caec8824b82d754312ae4b122a352e7a830530bb (diff) | |
download | ports-12148e9752dba827fd018f173f75e06d60cde28d.tar.gz ports-12148e9752dba827fd018f173f75e06d60cde28d.zip |
devel/ucommon: Fix build with openssl3
Approved by: portmgr (blanket)
Sponsored by: The FreeBSD Foundation
-rw-r--r-- | devel/ucommon/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/devel/ucommon/Makefile b/devel/ucommon/Makefile index b86b69db4292..35a55dc8593d 100644 --- a/devel/ucommon/Makefile +++ b/devel/ucommon/Makefile @@ -23,6 +23,10 @@ TEST_TARGET= test USE_CXXSTD= c++11 .endif +.if ( ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400092 && ${SSL_DEFAULT} == base ) || ${SSL_DEFAULT:Mopenssl3*} +CXXFLAGS+= -DOPENSSL_API_COMPAT=0x30000000L" +.endif + post-install: ${INSTALL_DATA} ${BUILD_WRKSRC}/ucommon-config.h ${STAGEDIR}${PREFIX}/include/ucommon |