diff options
author | mandree <mandree@FreeBSD.org> | 2013-06-11 16:15:22 +0800 |
---|---|---|
committer | mandree <mandree@FreeBSD.org> | 2013-06-11 16:15:22 +0800 |
commit | 61e2204a8ef4b5731a0fc8222b61c54494d2eb12 (patch) | |
tree | 705289a46d50fa4a67aed64b0af675b7660fba4b /Mk | |
parent | 6e8b59381291a6d9d61667cc4c05041575409438 (diff) | |
download | freebsd-ports-graphics-61e2204a8ef4b5731a0fc8222b61c54494d2eb12.tar.gz freebsd-ports-graphics-61e2204a8ef4b5731a0fc8222b61c54494d2eb12.tar.zst freebsd-ports-graphics-61e2204a8ef4b5731a0fc8222b61c54494d2eb12.zip |
Add Oracle Berkeley DB 6.0.
Simplify installation over previous versions.
License change to Affero GNU General Public License v3 (AGPL v3).
Announcement: https://oss.oracle.com/pipermail/bdb/2013-June/000056.html
ChangeLog: http://download.oracle.com/otndocs/products/berkeleydb/html/changelog_6_0.html
Diffstat (limited to 'Mk')
-rw-r--r-- | Mk/bsd.database.mk | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/Mk/bsd.database.mk b/Mk/bsd.database.mk index f2a5f9825e6..42bc0c12a77 100644 --- a/Mk/bsd.database.mk +++ b/Mk/bsd.database.mk @@ -294,6 +294,7 @@ db46_DEPENDS= db-4.6.0:${PORTSDIR}/databases/db46 db47_DEPENDS= db-4.7.0:${PORTSDIR}/databases/db47 db48_DEPENDS= db-4.8.0:${PORTSDIR}/databases/db48 db5_DEPENDS= db-5.3.0:${PORTSDIR}/databases/db5 +db6_DEPENDS= db-6.0.0:${PORTSDIR}/databases/db6 # Detect db versions by finding some files db40_FIND= ${LOCALBASE}/include/db4/db.h db41_FIND= ${LOCALBASE}/include/db41/db.h @@ -304,6 +305,7 @@ db46_FIND= ${LOCALBASE}/include/db46/db.h db47_FIND= ${LOCALBASE}/include/db47/db.h db48_FIND= ${LOCALBASE}/include/db48/db.h db5_FIND= ${LOCALBASE}/include/db5/db.h +db6_FIND= ${LOCALBASE}/include/db6/db.h # For specifying [40, 41, ..]+ _DB_40P= 40 ${_DB_41P} @@ -314,7 +316,8 @@ _DB_44P= 44 ${_DB_46P} _DB_46P= 46 ${_DB_47P} _DB_47P= 47 ${_DB_48P} _DB_48P= 48 ${_DB_5P} -_DB_5P= 5 +_DB_5P= 5 ${_DB_6P} +_DB_6P= 6 # Override the global WITH_BDB_VER with the # port specific <UNIQUENAME>_WITH_BDB_VER @@ -454,6 +457,10 @@ BDB_LIB_DIR= ${LOCALBASE}/lib/db48 BDB_LIB_NAME= db-5.3 BDB_LIB_CXX_NAME= db_cxx-5.3 BDB_LIB_DIR= ${LOCALBASE}/lib/db5 +. elif ${_BDB_VER} == 6 +BDB_LIB_NAME= db-6.0 +BDB_LIB_CXX_NAME= db_cxx-6.0 +BDB_LIB_DIR= ${LOCALBASE}/lib/db6 . endif BDB_LIB_NAME?= db${_BDB_VER} BDB_LIB_CXX_NAME?= db${_BDB_VER}_cxx |