aboutsummaryrefslogtreecommitdiff
path: root/Mk
diff options
context:
space:
mode:
authorXin LI <delphij@FreeBSD.org>2007-08-06 09:23:13 +0000
committerXin LI <delphij@FreeBSD.org>2007-08-06 09:23:13 +0000
commit8cf2689cdd568f49d3c5b6f481ac679f374c3acd (patch)
treeb3a60986166ddcade761c814d32865f4058ebc5f /Mk
parent91880e84d913ecb9612c84cedeb088ceba52696f (diff)
downloadports-8cf2689cdd568f49d3c5b6f481ac679f374c3acd.tar.gz
ports-8cf2689cdd568f49d3c5b6f481ac679f374c3acd.zip
Notes
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.database.mk11
1 files changed, 9 insertions, 2 deletions
diff --git a/Mk/bsd.database.mk b/Mk/bsd.database.mk
index 455e8b3b61da..a69887c0e759 100644
--- a/Mk/bsd.database.mk
+++ b/Mk/bsd.database.mk
@@ -196,7 +196,7 @@ CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
.if defined(USE_BDB)
-_DB_PORTS= 2 3 40 41 42 43 44 45 3+ 40+ 41+ 42+ 43+ 44+ 45+
+_DB_PORTS= 2 3 40 41 42 43 44 45 46 3+ 40+ 41+ 42+ 43+ 44+ 45+ 46+
# Dependence lines for different db versions
db2_DEPENDS= db2.0:${PORTSDIR}/databases/db2
db3_DEPENDS= db3.3:${PORTSDIR}/databases/db3
@@ -206,6 +206,7 @@ db42_DEPENDS= db-4.2.2:${PORTSDIR}/databases/db42
db43_DEPENDS= db-4.3.0:${PORTSDIR}/databases/db43
db44_DEPENDS= db-4.4.0:${PORTSDIR}/databases/db44
db45_DEPENDS= db-4.5.0:${PORTSDIR}/databases/db45
+db46_DEPENDS= db-4.6.0:${PORTSDIR}/databases/db46
# Detect db versions by finding some files
db3_FIND= ${LOCALBASE}/include/db3/db.h
db40_FIND= ${LOCALBASE}/include/db4/db.h
@@ -214,6 +215,7 @@ db42_FIND= ${LOCALBASE}/include/db42/db.h
db43_FIND= ${LOCALBASE}/include/db43/db.h
db44_FIND= ${LOCALBASE}/include/db44/db.h
db45_FIND= ${LOCALBASE}/include/db45/db.h
+db46_FIND= ${LOCALBASE}/include/db46/db.h
# For specifying [3, 40, 41, ..]+
_DB_3P= 3 ${_DB_40P}
@@ -222,7 +224,8 @@ _DB_41P= 41 ${_DB_42P}
_DB_42P= 42 ${_DB_43P}
_DB_43P= 43 ${_DB_44P}
_DB_44P= 44 ${_DB_45P}
-_DB_45P= 45
+_DB_45P= 45 ${_DB_46P}
+_DB_46P= 46
# Override the global WITH_BDB_VER with the
# port specific <UNIQUENAME>_WITH_BDB_VER
@@ -350,6 +353,10 @@ BDB_LIB_DIR= ${LOCALBASE}/lib/db44
BDB_LIB_NAME= db-4.5
BDB_LIB_CXX_NAME= db_cxx-4.5
BDB_LIB_DIR= ${LOCALBASE}/lib/db45
+. elif ${_BDB_VER} == 46
+BDB_LIB_NAME= db-4.6
+BDB_LIB_CXX_NAME= db_cxx-4.6
+BDB_LIB_DIR= ${LOCALBASE}/lib/db46
. endif
BDB_LIB_NAME?= db${_BDB_VER}
BDB_LIB_CXX_NAME?= db${_BDB_VER}_cxx