Date: Wed, 16 Aug 2023 05:34:44 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: 46ac6a9ee7ad - main - lang/erlang-runtime22: Fix build with openssl3 Message-ID: <202308160534.37G5YiFF023823@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=46ac6a9ee7adefd71f0c5de39210cafb10586c23 commit 46ac6a9ee7adefd71f0c5de39210cafb10586c23 Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-08-16 03:14:17 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-08-16 05:34:36 +0000 lang/erlang-runtime22: Fix build with openssl3 - Utilize USES=localbase Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation --- lang/erlang-runtime23/Makefile | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/lang/erlang-runtime23/Makefile b/lang/erlang-runtime23/Makefile index e9042fec0c37..ac5935832aef 100644 --- a/lang/erlang-runtime23/Makefile +++ b/lang/erlang-runtime23/Makefile @@ -77,13 +77,10 @@ KQUEUE_CONFIGURE_ENABLE= kernel-poll NATIVE_IMPLIES= HIPE NATIVE_CONFIGURE_ENABLE= native-libs ODBC_LIB_DEPENDS= libodbc.so:databases/unixODBC +ODBC_USES= localbase:ldflags ODBC_CONFIGURE_WITH= odbc -ODBC_CFLAGS= -I/usr/local/include -ODBC_LDFLAGS= -L/usr/local/lib OPENSSL_USES= ssl OPENSSL_CONFIGURE_WITH= ssl=${OPENSSLBASE} -OPENSSL_VARS= BROKEN_SSL="openssl30 openssl31" \ - BROKEN_SSL_REASON="Requires OpenSSL 3.0.0 deprecated FIPS_mode routines" SCTP_CONFIGURE_ENABLE= sctp THREADS_CONFIGURE_ENABLE= threads WX_USES= gl @@ -111,6 +108,11 @@ MAKE_ARGS+= ARCH=x86 MAKE_ARGS+= ARCH=arm .endif +.if ( ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400092 && ${SSL_DEFAULT} == base ) || ${SSL_DEFAULT:Mopenssl3*} +CFLAGS+= -Wno-error=implicit-function-declaration +OPTIONS_EXCLUDE= OPENSSL +.endif + pre-configure: @cd ${WRKSRC} && ./otp_build autoconfhome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202308160534.37G5YiFF023823>
