aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authorperky <perky@FreeBSD.org>2003-11-21 13:17:53 +0800
committerperky <perky@FreeBSD.org>2003-11-21 13:17:53 +0800
commit82d24eb1a33f7cc5d6cec7dabd5a55c248b2c045 (patch)
treea035383dcf50b94b32d743a824e4c8a745e66d63 /databases
parent02a1efe801e7b9659a0bf4fc21b4f7ad614cb904 (diff)
downloadfreebsd-ports-gnome-82d24eb1a33f7cc5d6cec7dabd5a55c248b2c045.tar.gz
freebsd-ports-gnome-82d24eb1a33f7cc5d6cec7dabd5a55c248b2c045.tar.zst
freebsd-ports-gnome-82d24eb1a33f7cc5d6cec7dabd5a55c248b2c045.zip
Add WITH_DB4 knob and change default to use db4.1.
Submitted by: Rui Lopes <rui@ruilopes.com>
Diffstat (limited to 'databases')
-rw-r--r--databases/py-bsddb/Makefile14
-rw-r--r--databases/py25-bsddb/Makefile14
2 files changed, 18 insertions, 10 deletions
diff --git a/databases/py-bsddb/Makefile b/databases/py-bsddb/Makefile
index 41a7b510b437..49d1edb146e7 100644
--- a/databases/py-bsddb/Makefile
+++ b/databases/py-bsddb/Makefile
@@ -7,6 +7,7 @@
PORTNAME= bsddb
PORTVERSION= ${PYTHON_PORTVERSION}
+PORTREVISION= 1
CATEGORIES= databases python
MASTER_SITES= ${PYTHON_MASTER_SITES}
MASTER_SITE_SUBDIR= ${PYTHON_MASTER_SITE_SUBDIR}
@@ -17,12 +18,15 @@ MAINTAINER= perky@FreeBSD.org
COMMENT= Python bindings to the Berkeley DB library
.if defined(WITH_DB3)
-LIB_DEPENDS= db3.3:${PORTSDIR}/databases/db3
-DBVERSION= db3
-PKGNAMESUFFIX= -db3
+LIB_DEPENDS= db3.3:${PORTSDIR}/databases/db3
+DBVERSION= db3
+PKGNAMESUFFIX= -db3
+.elif defined(WITH_DB4)
+LIB_DEPENDS= db4.0:${PORTSDIR}/databases/db4
+DBVERSION= db4
.else
-LIB_DEPENDS= db4.0:${PORTSDIR}/databases/db4
-DBVERSION= db4
+LIB_DEPENDS= db41.1:${PORTSDIR}/databases/db41
+DBVERSION= db41
.endif
DIST_SUBDIR= python
diff --git a/databases/py25-bsddb/Makefile b/databases/py25-bsddb/Makefile
index 41a7b510b437..49d1edb146e7 100644
--- a/databases/py25-bsddb/Makefile
+++ b/databases/py25-bsddb/Makefile
@@ -7,6 +7,7 @@
PORTNAME= bsddb
PORTVERSION= ${PYTHON_PORTVERSION}
+PORTREVISION= 1
CATEGORIES= databases python
MASTER_SITES= ${PYTHON_MASTER_SITES}
MASTER_SITE_SUBDIR= ${PYTHON_MASTER_SITE_SUBDIR}
@@ -17,12 +18,15 @@ MAINTAINER= perky@FreeBSD.org
COMMENT= Python bindings to the Berkeley DB library
.if defined(WITH_DB3)
-LIB_DEPENDS= db3.3:${PORTSDIR}/databases/db3
-DBVERSION= db3
-PKGNAMESUFFIX= -db3
+LIB_DEPENDS= db3.3:${PORTSDIR}/databases/db3
+DBVERSION= db3
+PKGNAMESUFFIX= -db3
+.elif defined(WITH_DB4)
+LIB_DEPENDS= db4.0:${PORTSDIR}/databases/db4
+DBVERSION= db4
.else
-LIB_DEPENDS= db4.0:${PORTSDIR}/databases/db4
-DBVERSION= db4
+LIB_DEPENDS= db41.1:${PORTSDIR}/databases/db41
+DBVERSION= db41
.endif
DIST_SUBDIR= python