From nobody Wed Aug 16 05:34:44 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RQcK03nQwz4qFj2; Wed, 16 Aug 2023 05:34:44 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RQcK03LnQz3F6r; Wed, 16 Aug 2023 05:34:44 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1692164084; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=PvAJqzpAs94LFUdNs4H8jQB1aYC09bOzOYv+dOk563A=; b=rzEPAhN2lkQtZNNqcF9VZ9bDCr+IEzLhH4kym60qj5kO++cGYbMAz2JvhRkal1P7zVrxzz ClMQctMgHj0femQi32MbkGKhAWFYruRLT0+NTQx3oZWkl1+qhtC3dMcUgZZqo3ETO01Y9H SciZiObVBWQ/DI/Dtp1oxsxKe73nbGtSAMCcJTefnx1jU/yxGNd086eKqyRBZoh06o07aG ktBEULMLbUSUQeYJfhhmUikYIfLERKf1gjf77XcZP3LJMxYlytFnOlWuI5IJtsYvt3l4NP DE/9+wHbL/6TDKIdkGxzbtul+go8A5ffdKRSs2OJ2DlYbacIczcw6LDJI+zGGg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1692164084; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=PvAJqzpAs94LFUdNs4H8jQB1aYC09bOzOYv+dOk563A=; b=QJOUtYi8JG0wtVP8KhSiPZ5QxRyGnd+oTHBaYa1hPvxonP/33OWk8khZOkNrogstyOBx+H WF39c19LyEerTHWYTPZXumLzo0y8D1rgk8IzCBBIyUVcnGs7fDEdYQ9kGYtscUOHmXszDM UDePRDUm1UcWecUnOolL+ir5BKdy0kzPbNxwjB9yjERYfseYj2RA5bE4uGtyqk4ohoKIvE /kqFBEZuPtr5IWDkh1ZSvcf4lL7MEnvhvWqp8ab5i0XIXyt25GKs+iYPl9RTxZuYoPp6yZ UgrYqIzn17nvIkTckwvG6KOeh4jA7KZFHPCB+w4d/kfiZOhGq6GnvpuSNvYsuw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1692164084; a=rsa-sha256; cv=none; b=PuYumaSMdBVeS5IRwhgm14EpsgAQB1WkVEiqgNUFWiktkQElzPNV6oRPTf6ilyy+4hxmoV 4XCKwdlERSOQgtRUY7nom7o0KShotrDXXhoeqxC5jguXD8ghY94MTZh3EVWDncPD79czJ9 pdVGjadB535tw/aa890QoYpQKlYxNYbFJVp8l6AbirlumEqyAMH0weXAdie+yp0lBi5N3t NfhOre8jRv7XAby8nt2cqwBECBMlk/erWL49MYhqd1cfDNqX6yYLh5VbJXA/8TJfwap7AL cn/2IYPe7lfAUk7xCVY6yjBDyHP2KB6vHKJ/3IE4hqNd0qWHc0k6XkYahXtGPQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4RQcK02PcRzgSl; Wed, 16 Aug 2023 05:34:44 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 37G5Yikj023826; Wed, 16 Aug 2023 05:34:44 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 37G5YiFF023823; Wed, 16 Aug 2023 05:34:44 GMT (envelope-from git) Date: Wed, 16 Aug 2023 05:34:44 GMT Message-Id: <202308160534.37G5YiFF023823@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Muhammad Moinur Rahman Subject: git: 46ac6a9ee7ad - main - lang/erlang-runtime22: Fix build with openssl3 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: bofh X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 46ac6a9ee7adefd71f0c5de39210cafb10586c23 Auto-Submitted: auto-generated The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=46ac6a9ee7adefd71f0c5de39210cafb10586c23 commit 46ac6a9ee7adefd71f0c5de39210cafb10586c23 Author: Muhammad Moinur Rahman AuthorDate: 2023-08-16 03:14:17 +0000 Commit: Muhammad Moinur Rahman 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 autoconf