FreeBSD Bugzilla – Attachment 232096 Details for
Bug 262135
databases/py-berkeleydb: Fix build when default version of berkeley db is 18
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Updated patch file
databases_py-berkeleydb.patch (text/plain), 1.06 KB, created by
Yasuhiro Kimura
on 2022-02-25 06:21:02 UTC
(
hide
)
Description:
Updated patch file
Filename:
MIME Type:
Creator:
Yasuhiro Kimura
Created:
2022-02-25 06:21:02 UTC
Size:
1.06 KB
patch
obsolete
>From e7c3df9259ab62ce93f787c2b950bd4fb1eab9f3 Mon Sep 17 00:00:00 2001 >From: Yasuhiro Kimura <yasu@FreeBSD.org> >Date: Sat, 5 Feb 2022 20:04:46 +0900 >Subject: [PATCH] databases/py-berkeleydb: Fix build when default version of > berkeley db is 18 > >--- > 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 <bsd.port.pre.mk> >+ >+.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 <bsd.port.mk> >+.include <bsd.port.post.mk> >-- >2.35.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 262135
:
232025
| 232096