git: 6df793d336dc - main - lang/erlang-runtime22: Fix build with openssl3
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 16 Aug 2023 02:31:19 UTC
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=6df793d336dc6713ffba527e0cd64057ed5a9047 commit 6df793d336dc6713ffba527e0cd64057ed5a9047 Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-08-16 02:22:08 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-08-16 02:31:01 +0000 lang/erlang-runtime22: Fix build with openssl3 - Utilize USES=localbase Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation --- lang/erlang-runtime22/Makefile | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/lang/erlang-runtime22/Makefile b/lang/erlang-runtime22/Makefile index b0dfa5cc9a11..6b88067471f1 100644 --- a/lang/erlang-runtime22/Makefile +++ b/lang/erlang-runtime22/Makefile @@ -78,13 +78,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="Cannot find function FIPS_mode" SCTP_CONFIGURE_ENABLE= sctp THREADS_CONFIGURE_ENABLE= threads WX_USES= gl @@ -112,6 +109,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 autoconf