diff options
author | delphij <delphij@FreeBSD.org> | 2007-08-06 17:23:13 +0800 |
---|---|---|
committer | delphij <delphij@FreeBSD.org> | 2007-08-06 17:23:13 +0800 |
commit | ffb78210bd852cf75baf6445c8a15a1e9adc9134 (patch) | |
tree | 1f030ef85359145e73b68692b9feafce53096044 | |
parent | 34686b85258b35cad77cea117dfe5916de3c23ee (diff) | |
download | freebsd-ports-gnome-ffb78210bd852cf75baf6445c8a15a1e9adc9134.tar.gz freebsd-ports-gnome-ffb78210bd852cf75baf6445c8a15a1e9adc9134.tar.zst freebsd-ports-gnome-ffb78210bd852cf75baf6445c8a15a1e9adc9134.zip |
Add support of Berkeley DB 4.6.
-rw-r--r-- | Mk/bsd.database.mk | 11 |
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 |