aboutsummaryrefslogtreecommitdiff
path: root/Mk/bsd.database.mk
diff options
context:
space:
mode:
authorXin LI <delphij@FreeBSD.org>2007-08-02 05:42:21 +0000
committerXin LI <delphij@FreeBSD.org>2007-08-02 05:42:21 +0000
commit5f1bac712f0cfda11407828b01d19ea3579fa959 (patch)
tree7f210bf0b262690efb34fea1702728be4899ee76 /Mk/bsd.database.mk
parent35150166f133ab5d053f65f740bd9eae4d328f51 (diff)
downloadports-5f1bac712f0cfda11407828b01d19ea3579fa959.tar.gz
ports-5f1bac712f0cfda11407828b01d19ea3579fa959.zip
Notes
Diffstat (limited to 'Mk/bsd.database.mk')
-rw-r--r--Mk/bsd.database.mk20
1 files changed, 14 insertions, 6 deletions
diff --git a/Mk/bsd.database.mk b/Mk/bsd.database.mk
index 1bf9e3314b02..455e8b3b61da 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 3+ 40+ 41+ 42+ 43+ 44+
+_DB_PORTS= 2 3 40 41 42 43 44 45 3+ 40+ 41+ 42+ 43+ 44+ 45+
# Dependence lines for different db versions
db2_DEPENDS= db2.0:${PORTSDIR}/databases/db2
db3_DEPENDS= db3.3:${PORTSDIR}/databases/db3
@@ -205,6 +205,7 @@ db41_DEPENDS= db41.1:${PORTSDIR}/databases/db41
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
# Detect db versions by finding some files
db3_FIND= ${LOCALBASE}/include/db3/db.h
db40_FIND= ${LOCALBASE}/include/db4/db.h
@@ -212,13 +213,16 @@ db41_FIND= ${LOCALBASE}/include/db41/db.h
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
# For specifying [3, 40, 41, ..]+
-_DB_3P= 3 40 41 42 43 44
-_DB_40P= 40 41 42 43 44
-_DB_41P= 41 42 43 44
-_DB_42P= 42 43 44
-_DB_43P= 43 44
+_DB_3P= 3 ${_DB_40P}
+_DB_40P= 40 ${_DB_41P}
+_DB_41P= 41 ${_DB_42P}
+_DB_42P= 42 ${_DB_43P}
+_DB_43P= 43 ${_DB_44P}
+_DB_44P= 44 ${_DB_45P}
+_DB_45P= 45
# Override the global WITH_BDB_VER with the
# port specific <UNIQUENAME>_WITH_BDB_VER
@@ -342,6 +346,10 @@ BDB_LIB_DIR= ${LOCALBASE}/lib/db43
BDB_LIB_NAME= db-4.4
BDB_LIB_CXX_NAME= db_cxx-4.4
BDB_LIB_DIR= ${LOCALBASE}/lib/db44
+. elif ${_BDB_VER} == 45
+BDB_LIB_NAME= db-4.5
+BDB_LIB_CXX_NAME= db_cxx-4.5
+BDB_LIB_DIR= ${LOCALBASE}/lib/db45
. endif
BDB_LIB_NAME?= db${_BDB_VER}
BDB_LIB_CXX_NAME?= db${_BDB_VER}_cxx