From nobody Wed Aug 16 02:31:19 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 4RQXFM6rgVz4q3Yw; Wed, 16 Aug 2023 02:31:19 +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 4RQXFM1d1Wz4gKd; Wed, 16 Aug 2023 02:31:19 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1692153079; 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=gAORyjAn0GEqQLQlyMaAwyaR6l9ev5nyQRAjmTrcvuQ=; b=tBJC1sCj7+uE92+8QRhXtHwt1R82lsrsDTajMbvcLknxUBI4HeUpvLY/DgRbUvpGpiVbk7 LBi7JyHCtj955Jtj8hG+yTYOz3pazsmimxhi0vfqCPLvU8YLGa0tdNx1spBUWozpSxBUJa StczHiFePkq6OhUF7+OUaRBk9Pc15D/VffsDN/d0dMobdxsJksPCuxMAXaVR15mtyBggGI I76RLfbSmvKRqVBV8nfiBUxyN2i2c2dHWGTvLRya/GJUHLZ6N2kQ8KyvQsHtOfE3plYy4O PGhbGSMEUcHaqGJJfqPVKnidQSo4noS2n09Dfpr9/RQ7N/r5CRHNPBW+Zx6V5A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1692153079; 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=gAORyjAn0GEqQLQlyMaAwyaR6l9ev5nyQRAjmTrcvuQ=; b=TCW7f3t/H/EmYqK/l7Tlu6pwsEnVMP27qm3jrMo3wVggAv29bMXv7OmKm9Ib4psadTcaE0 rm11Iwv+kp7G0fmSXFt8XNqgGgK9XClMltnfGndaEztFu4/evJo1HlUGYrlmnDocqP077e Jq1b9YS5Tfe5ANyGp4eiE2BKN6q8MT8ZRvfQVE38iSFWH+GoSRPjGHa29OHknRlqiMcaqn uVaTTHpL15B6HfljqN0xwgJk3YI+bN5bq6/n7khySGo3HfJnm7LM7f+JWtXgcQg2zcjTvN TpgBJXIbOQkE2DyCsr0CD7NnUycUW3kqEb6OurIFv0YizMGUyfVyxSFLs8wcmA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1692153079; a=rsa-sha256; cv=none; b=xDDTsYLr6ac5ZIThPjsXdU5BZh5l9N1hdSEaA3N++XnTEalPVE2QeK1xXxSWD/BRYx7Rqb Xnds1SoXGB2EcZLY8nC6LpYRdZFCU0nG4vwNYTwXfdPiJRDL8DD7pzMlIfbGeMCVw3er9W rXhGoG9tXcIjFcNDqyhl95NmUgXh+y46ooT6fbKKb5WTAGvEp25mFK8+oq/L1/aWLPJruW WAgsj9ny9/CU7YRt9FDnTQDpCJAIH9gfO2yYVU0DYYeXC5DjBfxs/YEaDJXsvAPTU0CcWS df281qb2t4YGiqZfXnAhBNsVanq/slMLX2KQOjbjOAtplfSHwMVqTu2spxWSiw== 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 4RQXFM0lDRzZlJ; Wed, 16 Aug 2023 02:31:19 +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 37G2VJoI019838; Wed, 16 Aug 2023 02:31:19 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 37G2VJ27019835; Wed, 16 Aug 2023 02:31:19 GMT (envelope-from git) Date: Wed, 16 Aug 2023 02:31:19 GMT Message-Id: <202308160231.37G2VJ27019835@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: 6df793d336dc - 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: 6df793d336dc6713ffba527e0cd64057ed5a9047 Auto-Submitted: auto-generated The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=6df793d336dc6713ffba527e0cd64057ed5a9047 commit 6df793d336dc6713ffba527e0cd64057ed5a9047 Author: Muhammad Moinur Rahman AuthorDate: 2023-08-16 02:22:08 +0000 Commit: Muhammad Moinur Rahman 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