From nobody Sat Feb 26 04:55:25 2022 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 6D91319E93D4; Sat, 26 Feb 2022 04:55:25 +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 4K5Dq12CzPz3JBM; Sat, 26 Feb 2022 04:55:25 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1645851325; 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=vjgiX/Xv9ZQHcU7SidVMpoEBFQtNz6CeX6zW36ekr4o=; b=TgXBDgwGqy6F2KubrCrqXGqO9UvPY8XvNHbUXpp1AcxwOf/IwbRhyZPeGCXNxSEK+qjSTc q8+MRcgWM3Y236iJi3yXh5bmGNtkA5kO3dLWpHZUo8RbC+dRek2tr3pKotgeDtOXRKsjOf 3l66iBFXiBHCIfPSdeucssxdOQkAB1LDnD/1EiszYi2mbdVkC4833k03XKYMSJcds1cInv Rsq0Ww4fPxg4FEWeFF0ZC2g7NMoBm64p1RfAdEY5aFa6jT1eLBtFkuIkIISLgoGiqraXL9 ZpnmCOUQTUodib0Xt9F3C/tylitnJifZ1+i110yjvLf2x2JpMClIHuHJakdtnQ== 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 2BCDA5726; Sat, 26 Feb 2022 04:55:25 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 21Q4tPbF052035; Sat, 26 Feb 2022 04:55:25 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 21Q4tP7V052034; Sat, 26 Feb 2022 04:55:25 GMT (envelope-from git) Date: Sat, 26 Feb 2022 04:55:25 GMT Message-Id: <202202260455.21Q4tP7V052034@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: 2214191eff6c - main - databases/py-berkeleydb: Fix build with db18 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: 2214191eff6c1fd01ce14791f04077dcd16408da Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1645851325; 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=vjgiX/Xv9ZQHcU7SidVMpoEBFQtNz6CeX6zW36ekr4o=; b=M01IruC8qbFc/LxCYXjn64JwZAQtU+XyRAKeuMmCGW8sBa4CvL/soapH75s1wVRFuDv1pY Bck6xb+oCP50pli1tNM2EAgLLlAKMmWuTNCFi/r3eQ9ClkANrBcX3G9Y4LI67ApfvFNBgf xpH07l+aXn/a8Su5VrVRxcRR7tyrAyBfydWylGZKrmbrwCvcuxxENacPl2ragHepJnxDf3 V9iE3bMZhSWBg8qWvkB2QCCTgeJOaGv8RMNZVYLsLf+9nv6/F2/x5OPkibcwgZ1IOtCAPr EAvSBFztv8rZN//igqx6Zsye03Ge+Uk+NOdBJxNC80y6CxkjR+2dQTIFqMRPVA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1645851325; a=rsa-sha256; cv=none; b=wkJQxGiL3v5MIwA7dklimsBTXdyKOPRhBz7Rs+pOlOS6dxIsN/EZnayH2sDvDKL3F6BVZT OzNRbJ7IQfsGcGHZHfzb1Ox/7HmuycZ+8GPM6Yf6rO0696urxeocwdsDKzgsUoJzLQFSe/ hx6JwHsKr1AtoCZr2Fh6i9WdzCN47UZWjuLjmXb4xieiFjEYI1weQQrTgm/ObDW1kZIw9V 4V9+WwtVtXvbFNHguB/Zny+bjsZ/ZCUW+F3+jmDddNc4b7d4vguUOolgAQQKOTWy4YIR4C 8BwOETKGFzys5e41RpCn8/SiFwEpp7s9nsxgvVxcg87eXxBN4UUf+nSL7qyUTQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=2214191eff6c1fd01ce14791f04077dcd16408da commit 2214191eff6c1fd01ce14791f04077dcd16408da Author: Yasuhiro Kimura AuthorDate: 2022-02-26 04:54:00 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2022-02-26 04:54:00 +0000 databases/py-berkeleydb: Fix build with db18 PR: 262135 --- databases/py-berkeleydb/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/databases/py-berkeleydb/Makefile b/databases/py-berkeleydb/Makefile index 1896f5e7edde..a4b2ab2b93e6 100644 --- a/databases/py-berkeleydb/Makefile +++ b/databases/py-berkeleydb/Makefile @@ -24,6 +24,12 @@ DOCSDIR= ${PREFIX}/share/doc/${PYTHON_PKGNAMEPREFIX}${PORTNAME} OPTIONS_DEFINE= DOCS +.include + +.if ${BDB_VER} > 5 +MAKE_ENV= YES_I_HAVE_THE_RIGHT_TO_USE_THIS_BERKELEY_DB_VERSION=yes +.endif + post-patch: @${REINPLACE_CMD} 's|%%DBVERSION%%|${BDB_LIB_NAME}| ; \ s|%%BDB_INCLUDE_DIR%%|${BDB_INCLUDE_DIR}| ; \ @@ -41,4 +47,4 @@ post-install-DOCS-on: do-test: @(cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} ./test.py -.include +.include