mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
Hook databases/db50 to the Berkeley DB logic.
Reviewed by: pav Reviewed by: garga Approved by: garga (mentor).
This commit is contained in:
parent
2a14c8667e
commit
6c4710e81b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=253281
@ -224,7 +224,7 @@ CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
|
||||
|
||||
.if defined(USE_BDB)
|
||||
|
||||
_DB_PORTS= 2 3 40 41 42 43 44 45 46 47 48 3+ 40+ 41+ 42+ 43+ 44+ 45+ 46+ 47+ 48+
|
||||
_DB_PORTS= 2 3 40 41 42 43 44 45 46 47 48 50 3+ 40+ 41+ 42+ 43+ 44+ 45+ 46+ 47+ 48+ 50+
|
||||
# Dependence lines for different db versions
|
||||
db2_DEPENDS= db2.0:${PORTSDIR}/databases/db2
|
||||
db3_DEPENDS= db3.3:${PORTSDIR}/databases/db3
|
||||
@ -237,6 +237,7 @@ db45_DEPENDS= db-4.5.0:${PORTSDIR}/databases/db45
|
||||
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
|
||||
db50_DEPENDS= db-5.0.0:${PORTSDIR}/databases/db50
|
||||
# Detect db versions by finding some files
|
||||
db3_FIND= ${LOCALBASE}/include/db3/db.h
|
||||
db40_FIND= ${LOCALBASE}/include/db4/db.h
|
||||
@ -248,6 +249,7 @@ db45_FIND= ${LOCALBASE}/include/db45/db.h
|
||||
db46_FIND= ${LOCALBASE}/include/db46/db.h
|
||||
db47_FIND= ${LOCALBASE}/include/db47/db.h
|
||||
db48_FIND= ${LOCALBASE}/include/db48/db.h
|
||||
db50_FIND= ${LOCALBASE}/include/db50/db.h
|
||||
|
||||
# For specifying [3, 40, 41, ..]+
|
||||
_DB_3P= 3 ${_DB_40P}
|
||||
@ -259,7 +261,8 @@ _DB_44P= 44 ${_DB_45P}
|
||||
_DB_45P= 45 ${_DB_46P}
|
||||
_DB_46P= 46 ${_DB_47P}
|
||||
_DB_47P= 47 ${_DB_48P}
|
||||
_DB_48P= 48
|
||||
_DB_48P= 48 ${_DB_50P}
|
||||
_DB_50P= 50
|
||||
|
||||
# Override the global WITH_BDB_VER with the
|
||||
# port specific <UNIQUENAME>_WITH_BDB_VER
|
||||
@ -399,6 +402,10 @@ BDB_LIB_DIR= ${LOCALBASE}/lib/db47
|
||||
BDB_LIB_NAME= db-4.8
|
||||
BDB_LIB_CXX_NAME= db_cxx-4.8
|
||||
BDB_LIB_DIR= ${LOCALBASE}/lib/db48
|
||||
. elif ${_BDB_VER} == 50
|
||||
BDB_LIB_NAME= db-5.0
|
||||
BDB_LIB_CXX_NAME= db_cxx-5.0
|
||||
BDB_LIB_DIR= ${LOCALBASE}/lib/db50
|
||||
. endif
|
||||
BDB_LIB_NAME?= db${_BDB_VER}
|
||||
BDB_LIB_CXX_NAME?= db${_BDB_VER}_cxx
|
||||
|
Loading…
Reference in New Issue
Block a user