From nobody Wed Aug 16 02:31:13 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 4RQXFF5PL3z4q3Yn; Wed, 16 Aug 2023 02:31:13 +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 4RQXFF4GjMz4fhq; Wed, 16 Aug 2023 02:31:13 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1692153073; 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=q5x5r/aTGo6URke8ZwqaS9AeKrG3m2g1y2gZx2whk6Y=; b=ourtq7Yo98i8F3XFOcjLDKS91nUbYLja3clLCA0DMdgAuiKjdqRnIpwVGp2W/kBPI131jS XCcvyEJQO2iQ4DkYsRFmLyST4Ebvu29Pvqj1p9vhIgINcZ2H4qo639R+a8dmcTHImOIZuq v5l7WRl6bN81HMPGjl5+INhL3hXx4a5s+CFudztvXWADdSdWczT2zICSiz2xWWEYpu4RYi 5D2Wa/NhdbwRon8m/mRzXjwLsx08yc+7pt9ZrXbVs7hhhZdevQCAZ4bsknKPPM02827aD8 FTIP5dM1HZCIAHvZkMLuSGwZ85Si31MckNyP4zMVhoMQ0vmG87Ked9aVXoRd2Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1692153073; 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=q5x5r/aTGo6URke8ZwqaS9AeKrG3m2g1y2gZx2whk6Y=; b=Punbu92YcBj6wjD7TMJwwJu9W41nFbQC9eubwGAiaar17ICkIFjvoxmdBjSVx0VeA+5Mt8 nRjhZ3gn9kQ8RVPBoD6NOOAhtwrSpQjy4x+AGKhLXFd8srkDMrX4KJNWz0TWkwmsxxT7UX qMH3SD47NfTWzH1/Bs/F3LBKjqi8Ve8xq+Vi6YKQtltV6O1L1WA+ifpP/qx0utHKnL83He O1QGYrOJX4UmAbkfsUQXmQ3G4zp7+ao2zA2OMdwYFiiCy2chia6lTuNcnLKPchnUvwSSDi pgPAS2pP+sVhrr2Rq82uEakzykdAXqx2VVogB7qj0uh7atCfx8bEMiZQnMEuqw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1692153073; a=rsa-sha256; cv=none; b=mDI4rRWcJLdju6bdXLFJJmP5FTDBwQpnBWpfFQaWlgljzWCZ7gb/VaDsRX3fnFLuqR2+ZS +qZYPZFejkGJv8T8yPaUH38ExajVK3KPMSYz75bnn0e68gI9DleXZzfXQmIGEY90mUU+vt esE0hHmJJZPpXVWvf84jQpbBBPEcx6ZUANHbn5IVuNQHmSL7agt7iLGFD9nLVTcFSVMMSg cxDUk7aL1Y0hOmn4msTs2E/SYkNYGx7MpJybllhyd9z90+0+parEtXiCszPzfQki9Hw2T9 JuTWqaTHpcU1rSJDYuf4J70ZAC3RnFUapzCmW2T3GJsZ0LSQhOge9i8SjGOFKw== 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 4RQXFF3D6mzZFS; Wed, 16 Aug 2023 02:31:13 +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 37G2VDHH018402; Wed, 16 Aug 2023 02:31:13 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 37G2VDvk018399; Wed, 16 Aug 2023 02:31:13 GMT (envelope-from git) Date: Wed, 16 Aug 2023 02:31:13 GMT Message-Id: <202308160231.37G2VDvk018399@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: 8b7faa2b662f - main - net/asterisk16: Fix build with OpenSSL 3 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: 8b7faa2b662f9eeb85d8c26cf5b3f4161320ff91 Auto-Submitted: auto-generated The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=8b7faa2b662f9eeb85d8c26cf5b3f4161320ff91 commit 8b7faa2b662f9eeb85d8c26cf5b3f4161320ff91 Author: Muhammad Moinur Rahman AuthorDate: 2023-08-15 05:53:20 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-08-16 02:30:59 +0000 net/asterisk16: Fix build with OpenSSL 3 Although astersisk itself builds fine with OpenSSL 3 however one of it's internal project pjproject fails to detect OpenSSL 3 and picks up gnutls as a dependency but fails to detect the library. Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation --- net/asterisk16/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/net/asterisk16/Makefile b/net/asterisk16/Makefile index 69584ffe0bbb..89dadfb692db 100644 --- a/net/asterisk16/Makefile +++ b/net/asterisk16/Makefile @@ -195,7 +195,9 @@ CXX= clang++${LLVM_VERSION} .endif .if ( ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400092 && ${SSL_DEFAULT} == base ) || ${SSL_DEFAULT:Mopenssl3*} -CXXFLAGS+= -DOPENSSL_API_COMPAT=0x30000000L +LIB_DEPENDS+= libgnutls.so:security/gnutls +CXXFLAGS+= -DOPENSSL_API_COMPAT=0x10100000L +LDFLAGS+= -lgnutls .endif .include