Date: Sun, 23 Jul 2023 22:16:24 GMT From: Muhammad Moinur Rahman <bofh@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 12148e9752db - main - devel/ucommon: Fix build with openssl3 Message-ID: <202307232216.36NMGOLj041103@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=12148e9752dba827fd018f173f75e06d60cde28d commit 12148e9752dba827fd018f173f75e06d60cde28d Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-07-23 20:16:50 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-07-23 22:16:15 +0000 devel/ucommon: Fix build with openssl3 Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation --- devel/ucommon/Makefile | 4 ++++ 1 file changed, 4 insertions(+) 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202307232216.36NMGOLj041103>