FreeBSD Bugzilla – Attachment 39045 Details for
Bug 61650
Allow databases/py-bsddb to use any of the db4* ports
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.66 KB, created by
Scot W. Hetzel
on 2004-01-20 22:20:12 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Scot W. Hetzel
Created:
2004-01-20 22:20:12 UTC
Size:
1.66 KB
patch
obsolete
>Index: Makefile >=================================================================== >RCS file: /home/ncvs/ports/databases/py-bsddb/Makefile,v >retrieving revision 1.5 >diff -u -r1.5 Makefile >--- Makefile 21 Nov 2003 05:17:53 -0000 1.5 >+++ Makefile 20 Jan 2004 21:56:23 -0000 >@@ -7,7 +7,7 @@ > > PORTNAME= bsddb > PORTVERSION= ${PYTHON_PORTVERSION} >-PORTREVISION= 1 >+PORTREVISION= 2 > CATEGORIES= databases python > MASTER_SITES= ${PYTHON_MASTER_SITES} > MASTER_SITE_SUBDIR= ${PYTHON_MASTER_SITE_SUBDIR} >@@ -18,15 +18,32 @@ > COMMENT= Python bindings to the Berkeley DB library > > .if defined(WITH_DB3) >-LIB_DEPENDS= db3.3:${PORTSDIR}/databases/db3 >-DBVERSION= db3 >-PKGNAMESUFFIX= -db3 >+WITH_BDB_VER= 3 > .elif defined(WITH_DB4) >-LIB_DEPENDS= db4.0:${PORTSDIR}/databases/db4 >-DBVERSION= db4 >+WITH_BDB_VER?= 41 >+.endif >+ >+.if defined(WITH_BDB_VER) >+.if ${WITH_BDB_VER} == 3 >+LIB_DEPENDS= db3.3:${PORTSDIR}/databases/db3 >+DBVERSION= db3 >+DBHEADER= db3 >+PKGNAMESUFFIX=-db3 >+.elif ${WITH_BDB_VER} == 4 >+LIB_DEPENDS= db4.0:${PORTSDIR}/databases/db4 >+DBVERSION= db4 >+DBHEADER= db4 >+.elif ${WITH_BDB_VER} == 41 >+LIB_DEPENDS= db41.1:${PORTSDIR}/databases/db41 >+DBVERSION= db41 >+DBHEADER= db41 >+.elif ${WITH_BDB_VER} == 42 >+LIB_DEPENDS= db-4.2.2:${PORTSDIR}/databases/db42 >+DBVERSION= db-4.2 >+DBHEADER= db42 > .else >-LIB_DEPENDS= db41.1:${PORTSDIR}/databases/db41 >-DBVERSION= db41 >+BROKEN= "WITH_BDB_VER must be 3, 4, 41 or 42" >+.endif > .endif > > DIST_SUBDIR= python >@@ -42,7 +59,7 @@ > > post-patch: > ${REINPLACE_CMD} -e \ >- 's,^\(#include.*\)\(db\.h.*\)$$,\1${DBVERSION}/\2,' \ >+ 's,^\(#include.*\)\(db\.h.*\)$$,\1${DBHEADER}/\2,' \ > ${WRKSRC}/_bsddb.c > > .include <bsd.port.mk>
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 61650
: 39045