Enable support for db-4.4.
This commit is contained in:
parent
144a718553
commit
c6dd85752c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=159705
5 changed files with 93 additions and 73 deletions
|
@ -50,33 +50,45 @@ OPTIONS+= BDB_3 "Use BerkeleyDB v3" on \
|
||||||
BDB_4 "Use BerkeleyDB v4" off \
|
BDB_4 "Use BerkeleyDB v4" off \
|
||||||
BDB_41 "Use BerkeleyDB v4.1" off \
|
BDB_41 "Use BerkeleyDB v4.1" off \
|
||||||
BDB_42 "Use BerkeleyDB v4.2" off \
|
BDB_42 "Use BerkeleyDB v4.2" off \
|
||||||
BDB_43 "Use BerkeleyDB v4.3" off
|
BDB_43 "Use BerkeleyDB v4.3" off \
|
||||||
|
BDB_44 "Use BerkeleyDB v4.4" off
|
||||||
.elif ${USE_BDB_VER} == 4
|
.elif ${USE_BDB_VER} == 4
|
||||||
OPTIONS+= BDB_3 "Use BerkeleyDB v3" off \
|
OPTIONS+= BDB_3 "Use BerkeleyDB v3" off \
|
||||||
BDB_4 "Use BerkeleyDB v4" on \
|
BDB_4 "Use BerkeleyDB v4" on \
|
||||||
BDB_41 "Use BerkeleyDB v4.1" off \
|
BDB_41 "Use BerkeleyDB v4.1" off \
|
||||||
BDB_42 "Use BerkeleyDB v4.2" off \
|
BDB_42 "Use BerkeleyDB v4.2" off \
|
||||||
BDB_43 "Use BerkeleyDB v4.3" off
|
BDB_43 "Use BerkeleyDB v4.3" off \
|
||||||
|
BDB_44 "Use BerkeleyDB v4.4" off
|
||||||
.elif ${USE_BDB_VER} == 41
|
.elif ${USE_BDB_VER} == 41
|
||||||
OPTIONS+= BDB_3 "Use BerkeleyDB v3" off \
|
OPTIONS+= BDB_3 "Use BerkeleyDB v3" off \
|
||||||
BDB_4 "Use BerkeleyDB v4" off \
|
BDB_4 "Use BerkeleyDB v4" off \
|
||||||
BDB_41 "Use BerkeleyDB v4.1" on \
|
BDB_41 "Use BerkeleyDB v4.1" on \
|
||||||
BDB_42 "Use BerkeleyDB v4.2" off \
|
BDB_42 "Use BerkeleyDB v4.2" off \
|
||||||
BDB_43 "Use BerkeleyDB v4.3" off
|
BDB_43 "Use BerkeleyDB v4.3" off \
|
||||||
|
BDB_44 "Use BerkeleyDB v4.4" off
|
||||||
.elif ${USE_BDB_VER} == 42
|
.elif ${USE_BDB_VER} == 42
|
||||||
OPTIONS+= BDB_3 "Use BerkeleyDB v3" off \
|
OPTIONS+= BDB_3 "Use BerkeleyDB v3" off \
|
||||||
BDB_4 "Use BerkeleyDB v4" off \
|
BDB_4 "Use BerkeleyDB v4" off \
|
||||||
BDB_41 "Use BerkeleyDB v4.1" off \
|
BDB_41 "Use BerkeleyDB v4.1" off \
|
||||||
BDB_42 "Use BerkeleyDB v4.2" on \
|
BDB_42 "Use BerkeleyDB v4.2" on \
|
||||||
BDB_43 "Use BerkeleyDB v4.3" off
|
BDB_43 "Use BerkeleyDB v4.3" off \
|
||||||
|
BDB_44 "Use BerkeleyDB v4.4" off
|
||||||
.elif ${USE_BDB_VER} == 43
|
.elif ${USE_BDB_VER} == 43
|
||||||
OPTIONS+= BDB_3 "Use BerkeleyDB v3" off \
|
OPTIONS+= BDB_3 "Use BerkeleyDB v3" off \
|
||||||
BDB_4 "Use BerkeleyDB v4" off \
|
BDB_4 "Use BerkeleyDB v4" off \
|
||||||
BDB_41 "Use BerkeleyDB v4.1" off \
|
BDB_41 "Use BerkeleyDB v4.1" off \
|
||||||
BDB_42 "Use BerkeleyDB v4.2" off \
|
BDB_42 "Use BerkeleyDB v4.2" off \
|
||||||
BDB_43 "Use BerkeleyDB v4.3" on
|
BDB_43 "Use BerkeleyDB v4.3" on \
|
||||||
|
BDB_44 "Use BerkeleyDB v4.4" off
|
||||||
|
.elif ${USE_BDB_VER} == 44
|
||||||
|
OPTIONS+= BDB_3 "Use BerkeleyDB v3" off \
|
||||||
|
BDB_4 "Use BerkeleyDB v4" off \
|
||||||
|
BDB_41 "Use BerkeleyDB v4.1" off \
|
||||||
|
BDB_42 "Use BerkeleyDB v4.2" off \
|
||||||
|
BDB_43 "Use BerkeleyDB v4.3" off \
|
||||||
|
BDB_44 "Use BerkeleyDB v4.4" on
|
||||||
.else
|
.else
|
||||||
BROKEN= "WITH_BDB_VER must be 3, 4, 41, 42 or 43"
|
BROKEN= "WITH_BDB_VER must be 3, 4, 41, 42, 43 or 44"
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
OPTIONS+= DRAC "Enable DRAC support" off
|
OPTIONS+= DRAC "Enable DRAC support" off
|
||||||
|
@ -91,7 +103,7 @@ OPTIONS+= SNMP_4 "Enable SNMP support using net-snmp v4" off \
|
||||||
SNMP_5 "Enable SNMP support using net-snmp v5" off
|
SNMP_5 "Enable SNMP support using net-snmp v5" off
|
||||||
OPTIONS+= PASS8BITHACK "Add pass8bit option (not recommended)" off
|
OPTIONS+= PASS8BITHACK "Add pass8bit option (not recommended)" off
|
||||||
|
|
||||||
BDB_VERS= 3 4 41 42 43
|
BDB_VERS= 3 4 41 42 43 44
|
||||||
|
|
||||||
.include <bsd.port.pre.mk>
|
.include <bsd.port.pre.mk>
|
||||||
|
|
||||||
|
@ -114,23 +126,20 @@ WITH_BDB_${USE_BDB_VER}= true
|
||||||
BROKEN= "Multiple BDB versions selected. Run 'make config' again!"
|
BROKEN= "Multiple BDB versions selected. Run 'make config' again!"
|
||||||
.endif
|
.endif
|
||||||
.if defined(WITH_BDB_3)
|
.if defined(WITH_BDB_3)
|
||||||
BDB_VER= 3
|
USE_BDB= 3
|
||||||
.elif defined(WITH_BDB_4)
|
.elif defined(WITH_BDB_4)
|
||||||
BDB_VER= 4
|
|
||||||
USE_BDB= 40
|
USE_BDB= 40
|
||||||
.elif defined(WITH_BDB_41)
|
.elif defined(WITH_BDB_41)
|
||||||
BDB_VER= 41
|
USE_BDB= 41
|
||||||
.elif defined(WITH_BDB_42)
|
.elif defined(WITH_BDB_42)
|
||||||
BDB_VER= 42
|
USE_BDB= 42
|
||||||
BDB_SUFFIX= -4.2
|
|
||||||
.elif defined(WITH_BDB_43)
|
.elif defined(WITH_BDB_43)
|
||||||
BDB_VER= 43
|
USE_BDB= 43
|
||||||
BDB_SUFFIX= -4.3
|
.elif defined(WITH_BDB_44)
|
||||||
|
USE_BDB= 44
|
||||||
.endif
|
.endif
|
||||||
USE_BDB?= ${BDB_VER}
|
CONFIGURE_ARGS+=--with-bdb-incdir=${BDB_INCLUDE_DIR} \
|
||||||
BDB_SUFFIX?= ${BDB_VER}
|
--with-bdb=${BDB_LIB_NAME}
|
||||||
CONFIGURE_ARGS+=--with-bdb-incdir=${LOCALBASE}/include/db${BDB_VER} \
|
|
||||||
--with-bdb=db${BDB_SUFFIX}
|
|
||||||
|
|
||||||
.if defined(WITH_NNTP)
|
.if defined(WITH_NNTP)
|
||||||
CONFIGURE_ARGS+=--enable-nntp
|
CONFIGURE_ARGS+=--enable-nntp
|
||||||
|
|
|
@ -49,33 +49,45 @@ OPTIONS= BDB_3 "Use BerkeleyDB v3" on \
|
||||||
BDB_4 "Use BerkeleyDB v4" off \
|
BDB_4 "Use BerkeleyDB v4" off \
|
||||||
BDB_41 "Use BerkeleyDB v4.1" off \
|
BDB_41 "Use BerkeleyDB v4.1" off \
|
||||||
BDB_42 "Use BerkeleyDB v4.2" off \
|
BDB_42 "Use BerkeleyDB v4.2" off \
|
||||||
BDB_43 "Use BerkeleyDB v4.3" off
|
BDB_43 "Use BerkeleyDB v4.3" off \
|
||||||
|
BDB_44 "Use BerkeleyDB v4.4" off
|
||||||
.elif ${USE_BDB_VER} == 4
|
.elif ${USE_BDB_VER} == 4
|
||||||
OPTIONS= BDB_3 "Use BerkeleyDB v3" off \
|
OPTIONS= BDB_3 "Use BerkeleyDB v3" off \
|
||||||
BDB_4 "Use BerkeleyDB v4" on \
|
BDB_4 "Use BerkeleyDB v4" on \
|
||||||
BDB_41 "Use BerkeleyDB v4.1" off \
|
BDB_41 "Use BerkeleyDB v4.1" off \
|
||||||
BDB_42 "Use BerkeleyDB v4.2" off \
|
BDB_42 "Use BerkeleyDB v4.2" off \
|
||||||
BDB_43 "Use BerkeleyDB v4.3" off
|
BDB_43 "Use BerkeleyDB v4.3" off \
|
||||||
|
BDB_44 "Use BerkeleyDB v4.4" off
|
||||||
.elif ${USE_BDB_VER} == 41
|
.elif ${USE_BDB_VER} == 41
|
||||||
OPTIONS= BDB_3 "Use BerkeleyDB v3" off \
|
OPTIONS= BDB_3 "Use BerkeleyDB v3" off \
|
||||||
BDB_4 "Use BerkeleyDB v4" off \
|
BDB_4 "Use BerkeleyDB v4" off \
|
||||||
BDB_41 "Use BerkeleyDB v4.1" on \
|
BDB_41 "Use BerkeleyDB v4.1" on \
|
||||||
BDB_42 "Use BerkeleyDB v4.2" off \
|
BDB_42 "Use BerkeleyDB v4.2" off \
|
||||||
BDB_43 "Use BerkeleyDB v4.3" off
|
BDB_43 "Use BerkeleyDB v4.3" off \
|
||||||
|
BDB_44 "Use BerkeleyDB v4.4" off
|
||||||
.elif ${USE_BDB_VER} == 42
|
.elif ${USE_BDB_VER} == 42
|
||||||
OPTIONS= BDB_3 "Use BerkeleyDB v3" off \
|
OPTIONS= BDB_3 "Use BerkeleyDB v3" off \
|
||||||
BDB_4 "Use BerkeleyDB v4" off \
|
BDB_4 "Use BerkeleyDB v4" off \
|
||||||
BDB_41 "Use BerkeleyDB v4.1" off \
|
BDB_41 "Use BerkeleyDB v4.1" off \
|
||||||
BDB_42 "Use BerkeleyDB v4.2" on \
|
BDB_42 "Use BerkeleyDB v4.2" on \
|
||||||
BDB_43 "Use BerkeleyDB v4.3" off
|
BDB_43 "Use BerkeleyDB v4.3" off \
|
||||||
|
BDB_44 "Use BerkeleyDB v4.4" off
|
||||||
.elif ${USE_BDB_VER} == 43
|
.elif ${USE_BDB_VER} == 43
|
||||||
OPTIONS= BDB_3 "Use BerkeleyDB v3" off \
|
OPTIONS= BDB_3 "Use BerkeleyDB v3" off \
|
||||||
BDB_4 "Use BerkeleyDB v4" off \
|
BDB_4 "Use BerkeleyDB v4" off \
|
||||||
BDB_41 "Use BerkeleyDB v4.1" off \
|
BDB_41 "Use BerkeleyDB v4.1" off \
|
||||||
BDB_42 "Use BerkeleyDB v4.2" off \
|
BDB_42 "Use BerkeleyDB v4.2" off \
|
||||||
BDB_43 "Use BerkeleyDB v4.3" on
|
BDB_43 "Use BerkeleyDB v4.3" on \
|
||||||
|
BDB_44 "Use BerkeleyDB v4.4" off
|
||||||
|
.elif ${USE_BDB_VER} == 44
|
||||||
|
OPTIONS= BDB_3 "Use BerkeleyDB v3" off \
|
||||||
|
BDB_4 "Use BerkeleyDB v4" off \
|
||||||
|
BDB_41 "Use BerkeleyDB v4.1" off \
|
||||||
|
BDB_42 "Use BerkeleyDB v4.2" off \
|
||||||
|
BDB_43 "Use BerkeleyDB v4.3" off \
|
||||||
|
BDB_44 "Use BerkeleyDB v4.4" on
|
||||||
.else
|
.else
|
||||||
BROKEN= "WITH_BDB_VER must be 3, 4, 41, 42 or 43"
|
BROKEN= "WITH_BDB_VER must be 3, 4, 41, 42, 43 or 44"
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
OPTIONS+= DRAC "Enable DRAC support" off
|
OPTIONS+= DRAC "Enable DRAC support" off
|
||||||
|
@ -84,13 +96,13 @@ OPTIONS+= LDAP_PTLOADER "Enable LDAP ptloader" off
|
||||||
OPTIONS+= LISTEXT "Enable IMAP List extensions" off
|
OPTIONS+= LISTEXT "Enable IMAP List extensions" off
|
||||||
OPTIONS+= MURDER "Enable IMAP Murder support" off
|
OPTIONS+= MURDER "Enable IMAP Murder support" off
|
||||||
OPTIONS+= NETSCAPEHACK "Enable X-NETSCAPE extensions" off
|
OPTIONS+= NETSCAPEHACK "Enable X-NETSCAPE extensions" off
|
||||||
OPTIONS+= NNTP "Enable NNTP support (BROKEN)" off
|
OPTIONS+= NNTP "Enable NNTP support" off
|
||||||
OPTIONS+= REPLICATION "Enable replication" off
|
OPTIONS+= REPLICATION "Enable replication" off
|
||||||
OPTIONS+= SNMP_4 "Enable SNMP support using net-snmp v4" off \
|
OPTIONS+= SNMP_4 "Enable SNMP support using net-snmp v4" off \
|
||||||
SNMP_5 "Enable SNMP support using net-snmp v5" off
|
SNMP_5 "Enable SNMP support using net-snmp v5" off
|
||||||
OPTIONS+= PASS8BITHACK "Add pass8bit option (not recommended)" off
|
OPTIONS+= PASS8BITHACK "Add pass8bit option (not recommended)" off
|
||||||
|
|
||||||
BDB_VERS= 3 4 41 42 43
|
BDB_VERS= 3 4 41 42 43 44
|
||||||
|
|
||||||
.include <bsd.port.pre.mk>
|
.include <bsd.port.pre.mk>
|
||||||
|
|
||||||
|
@ -113,23 +125,20 @@ WITH_BDB_${USE_BDB_VER}= true
|
||||||
BROKEN= "Multiple BDB versions selected. Run 'make config' again!"
|
BROKEN= "Multiple BDB versions selected. Run 'make config' again!"
|
||||||
.endif
|
.endif
|
||||||
.if defined(WITH_BDB_3)
|
.if defined(WITH_BDB_3)
|
||||||
BDB_VER= 3
|
USE_BDB= 3
|
||||||
.elif defined(WITH_BDB_4)
|
.elif defined(WITH_BDB_4)
|
||||||
BDB_VER= 4
|
|
||||||
USE_BDB= 40
|
USE_BDB= 40
|
||||||
.elif defined(WITH_BDB_41)
|
.elif defined(WITH_BDB_41)
|
||||||
BDB_VER= 41
|
USE_BDB= 41
|
||||||
.elif defined(WITH_BDB_42)
|
.elif defined(WITH_BDB_42)
|
||||||
BDB_VER= 42
|
USE_BDB= 42
|
||||||
BDB_SUFFIX= -4.2
|
|
||||||
.elif defined(WITH_BDB_43)
|
.elif defined(WITH_BDB_43)
|
||||||
BDB_VER= 43
|
USE_BDB= 43
|
||||||
BDB_SUFFIX= -4.3
|
.elif defined(WITH_BDB_44)
|
||||||
|
USE_BDB= 44
|
||||||
.endif
|
.endif
|
||||||
USE_BDB?= ${BDB_VER}
|
CONFIGURE_ARGS+=--with-bdb-incdir=${BDB_INCLUDE_DIR} \
|
||||||
BDB_SUFFIX?= ${BDB_VER}
|
--with-bdb=${BDB_LIB_NAME}
|
||||||
CONFIGURE_ARGS+=--with-bdb-incdir=${LOCALBASE}/include/db${BDB_VER} \
|
|
||||||
--with-bdb=db${BDB_SUFFIX}
|
|
||||||
|
|
||||||
.if defined(WITH_NNTP)
|
.if defined(WITH_NNTP)
|
||||||
CONFIGURE_ARGS+=--enable-nntp
|
CONFIGURE_ARGS+=--enable-nntp
|
||||||
|
|
|
@ -49,33 +49,45 @@ OPTIONS= BDB_3 "Use BerkeleyDB v3" on \
|
||||||
BDB_4 "Use BerkeleyDB v4" off \
|
BDB_4 "Use BerkeleyDB v4" off \
|
||||||
BDB_41 "Use BerkeleyDB v4.1" off \
|
BDB_41 "Use BerkeleyDB v4.1" off \
|
||||||
BDB_42 "Use BerkeleyDB v4.2" off \
|
BDB_42 "Use BerkeleyDB v4.2" off \
|
||||||
BDB_43 "Use BerkeleyDB v4.3" off
|
BDB_43 "Use BerkeleyDB v4.3" off \
|
||||||
|
BDB_44 "Use BerkeleyDB v4.4" off
|
||||||
.elif ${USE_BDB_VER} == 4
|
.elif ${USE_BDB_VER} == 4
|
||||||
OPTIONS= BDB_3 "Use BerkeleyDB v3" off \
|
OPTIONS= BDB_3 "Use BerkeleyDB v3" off \
|
||||||
BDB_4 "Use BerkeleyDB v4" on \
|
BDB_4 "Use BerkeleyDB v4" on \
|
||||||
BDB_41 "Use BerkeleyDB v4.1" off \
|
BDB_41 "Use BerkeleyDB v4.1" off \
|
||||||
BDB_42 "Use BerkeleyDB v4.2" off \
|
BDB_42 "Use BerkeleyDB v4.2" off \
|
||||||
BDB_43 "Use BerkeleyDB v4.3" off
|
BDB_43 "Use BerkeleyDB v4.3" off \
|
||||||
|
BDB_44 "Use BerkeleyDB v4.4" off
|
||||||
.elif ${USE_BDB_VER} == 41
|
.elif ${USE_BDB_VER} == 41
|
||||||
OPTIONS= BDB_3 "Use BerkeleyDB v3" off \
|
OPTIONS= BDB_3 "Use BerkeleyDB v3" off \
|
||||||
BDB_4 "Use BerkeleyDB v4" off \
|
BDB_4 "Use BerkeleyDB v4" off \
|
||||||
BDB_41 "Use BerkeleyDB v4.1" on \
|
BDB_41 "Use BerkeleyDB v4.1" on \
|
||||||
BDB_42 "Use BerkeleyDB v4.2" off \
|
BDB_42 "Use BerkeleyDB v4.2" off \
|
||||||
BDB_43 "Use BerkeleyDB v4.3" off
|
BDB_43 "Use BerkeleyDB v4.3" off \
|
||||||
|
BDB_44 "Use BerkeleyDB v4.4" off
|
||||||
.elif ${USE_BDB_VER} == 42
|
.elif ${USE_BDB_VER} == 42
|
||||||
OPTIONS= BDB_3 "Use BerkeleyDB v3" off \
|
OPTIONS= BDB_3 "Use BerkeleyDB v3" off \
|
||||||
BDB_4 "Use BerkeleyDB v4" off \
|
BDB_4 "Use BerkeleyDB v4" off \
|
||||||
BDB_41 "Use BerkeleyDB v4.1" off \
|
BDB_41 "Use BerkeleyDB v4.1" off \
|
||||||
BDB_42 "Use BerkeleyDB v4.2" on \
|
BDB_42 "Use BerkeleyDB v4.2" on \
|
||||||
BDB_43 "Use BerkeleyDB v4.3" off
|
BDB_43 "Use BerkeleyDB v4.3" off \
|
||||||
|
BDB_44 "Use BerkeleyDB v4.4" off
|
||||||
.elif ${USE_BDB_VER} == 43
|
.elif ${USE_BDB_VER} == 43
|
||||||
OPTIONS= BDB_3 "Use BerkeleyDB v3" off \
|
OPTIONS= BDB_3 "Use BerkeleyDB v3" off \
|
||||||
BDB_4 "Use BerkeleyDB v4" off \
|
BDB_4 "Use BerkeleyDB v4" off \
|
||||||
BDB_41 "Use BerkeleyDB v4.1" off \
|
BDB_41 "Use BerkeleyDB v4.1" off \
|
||||||
BDB_42 "Use BerkeleyDB v4.2" off \
|
BDB_42 "Use BerkeleyDB v4.2" off \
|
||||||
BDB_43 "Use BerkeleyDB v4.3" on
|
BDB_43 "Use BerkeleyDB v4.3" on \
|
||||||
|
BDB_44 "Use BerkeleyDB v4.4" off
|
||||||
|
.elif ${USE_BDB_VER} == 44
|
||||||
|
OPTIONS= BDB_3 "Use BerkeleyDB v3" off \
|
||||||
|
BDB_4 "Use BerkeleyDB v4" off \
|
||||||
|
BDB_41 "Use BerkeleyDB v4.1" off \
|
||||||
|
BDB_42 "Use BerkeleyDB v4.2" off \
|
||||||
|
BDB_43 "Use BerkeleyDB v4.3" off \
|
||||||
|
BDB_44 "Use BerkeleyDB v4.4" on
|
||||||
.else
|
.else
|
||||||
BROKEN= "WITH_BDB_VER must be 3, 4, 41, 42 or 43"
|
BROKEN= "WITH_BDB_VER must be 3, 4, 41, 42, 43 or 44"
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
OPTIONS+= DRAC "Enable DRAC support" off
|
OPTIONS+= DRAC "Enable DRAC support" off
|
||||||
|
@ -84,13 +96,13 @@ OPTIONS+= LDAP_PTLOADER "Enable LDAP ptloader" off
|
||||||
OPTIONS+= LISTEXT "Enable IMAP List extensions" off
|
OPTIONS+= LISTEXT "Enable IMAP List extensions" off
|
||||||
OPTIONS+= MURDER "Enable IMAP Murder support" off
|
OPTIONS+= MURDER "Enable IMAP Murder support" off
|
||||||
OPTIONS+= NETSCAPEHACK "Enable X-NETSCAPE extensions" off
|
OPTIONS+= NETSCAPEHACK "Enable X-NETSCAPE extensions" off
|
||||||
OPTIONS+= NNTP "Enable NNTP support (BROKEN)" off
|
OPTIONS+= NNTP "Enable NNTP support" off
|
||||||
OPTIONS+= REPLICATION "Enable replication" off
|
OPTIONS+= REPLICATION "Enable replication" off
|
||||||
OPTIONS+= SNMP_4 "Enable SNMP support using net-snmp v4" off \
|
OPTIONS+= SNMP_4 "Enable SNMP support using net-snmp v4" off \
|
||||||
SNMP_5 "Enable SNMP support using net-snmp v5" off
|
SNMP_5 "Enable SNMP support using net-snmp v5" off
|
||||||
OPTIONS+= PASS8BITHACK "Add pass8bit option (not recommended)" off
|
OPTIONS+= PASS8BITHACK "Add pass8bit option (not recommended)" off
|
||||||
|
|
||||||
BDB_VERS= 3 4 41 42 43
|
BDB_VERS= 3 4 41 42 43 44
|
||||||
|
|
||||||
.include <bsd.port.pre.mk>
|
.include <bsd.port.pre.mk>
|
||||||
|
|
||||||
|
@ -113,23 +125,20 @@ WITH_BDB_${USE_BDB_VER}= true
|
||||||
BROKEN= "Multiple BDB versions selected. Run 'make config' again!"
|
BROKEN= "Multiple BDB versions selected. Run 'make config' again!"
|
||||||
.endif
|
.endif
|
||||||
.if defined(WITH_BDB_3)
|
.if defined(WITH_BDB_3)
|
||||||
BDB_VER= 3
|
USE_BDB= 3
|
||||||
.elif defined(WITH_BDB_4)
|
.elif defined(WITH_BDB_4)
|
||||||
BDB_VER= 4
|
|
||||||
USE_BDB= 40
|
USE_BDB= 40
|
||||||
.elif defined(WITH_BDB_41)
|
.elif defined(WITH_BDB_41)
|
||||||
BDB_VER= 41
|
USE_BDB= 41
|
||||||
.elif defined(WITH_BDB_42)
|
.elif defined(WITH_BDB_42)
|
||||||
BDB_VER= 42
|
USE_BDB= 42
|
||||||
BDB_SUFFIX= -4.2
|
|
||||||
.elif defined(WITH_BDB_43)
|
.elif defined(WITH_BDB_43)
|
||||||
BDB_VER= 43
|
USE_BDB= 43
|
||||||
BDB_SUFFIX= -4.3
|
.elif defined(WITH_BDB_44)
|
||||||
|
USE_BDB= 44
|
||||||
.endif
|
.endif
|
||||||
USE_BDB?= ${BDB_VER}
|
CONFIGURE_ARGS+=--with-bdb-incdir=${BDB_INCLUDE_DIR} \
|
||||||
BDB_SUFFIX?= ${BDB_VER}
|
--with-bdb=${BDB_LIB_NAME}
|
||||||
CONFIGURE_ARGS+=--with-bdb-incdir=${LOCALBASE}/include/db${BDB_VER} \
|
|
||||||
--with-bdb=db${BDB_SUFFIX}
|
|
||||||
|
|
||||||
.if defined(WITH_NNTP)
|
.if defined(WITH_NNTP)
|
||||||
CONFIGURE_ARGS+=--enable-nntp
|
CONFIGURE_ARGS+=--enable-nntp
|
||||||
|
|
|
@ -46,18 +46,15 @@ CONFIGURE_ARGS= --sysconfdir=${PREFIX}/etc \
|
||||||
.if defined(WITH_BDB_VER)
|
.if defined(WITH_BDB_VER)
|
||||||
.if ${WITH_BDB_VER} == 4
|
.if ${WITH_BDB_VER} == 4
|
||||||
USE_BDB= 40
|
USE_BDB= 40
|
||||||
.elif ${WITH_BDB_VER} == 42
|
.elif ${WITH_BDB_VER} != 3 && ${WITH_BDB_VER} != 41 && \
|
||||||
BDB_SUFFIX= -4.2
|
${WITH_BDB_VER} != 42 && ${WITH_BDB_VER} != 43 && ${WITH_BDB_VER} != 44
|
||||||
.elif ${WITH_BDB_VER} == 43
|
BROKEN= "WITH_BDB_VER must be 3, 4, 41, 42, 43 or 44"
|
||||||
BDB_SUFFIX= -4.3
|
|
||||||
.elif ${WITH_BDB_VER} != 3 && ${WITH_BDB_VER} != 41
|
|
||||||
BROKEN= "WITH_BDB_VER must be 3, 4, 41, 42 or 43"
|
|
||||||
.endif
|
.endif
|
||||||
USE_BDB?= ${WITH_BDB_VER}
|
USE_BDB?= ${WITH_BDB_VER}
|
||||||
BDB_SUFFIX?= ${WITH_BDB_VER}
|
BDB_SUFFIX?= ${WITH_BDB_VER}
|
||||||
CONFIGURE_ARGS+=--with-dblib=berkeley --with-bdb-libdir=${LOCALBASE}/lib \
|
CONFIGURE_ARGS+=--with-dblib=berkeley --with-bdb-libdir=${LOCALBASE}/lib \
|
||||||
--with-bdb-incdir=${LOCALBASE}/include/db${WITH_BDB_VER} \
|
--with-bdb-incdir=${BDB_INCLUDE_DIR} \
|
||||||
--with-bdb=db${BDB_SUFFIX}
|
--with-bdb=${BDB_LIB_NAME}
|
||||||
.else
|
.else
|
||||||
CONFIGURE_ARGS+=--with-dblib=ndbm
|
CONFIGURE_ARGS+=--with-dblib=ndbm
|
||||||
.endif
|
.endif
|
||||||
|
|
|
@ -56,18 +56,14 @@ CONFIGURE_ARGS= --sysconfdir=${PREFIX}/etc \
|
||||||
.if defined(WITH_BDB_VER)
|
.if defined(WITH_BDB_VER)
|
||||||
.if ${WITH_BDB_VER} == 4
|
.if ${WITH_BDB_VER} == 4
|
||||||
USE_BDB= 40
|
USE_BDB= 40
|
||||||
.elif ${WITH_BDB_VER} == 42
|
.elif ${WITH_BDB_VER} != 3 && ${WITH_BDB_VER} != 41 && \
|
||||||
BDB_SUFFIX= -4.2
|
${WITH_BDB_VER} != 42 && ${WITH_BDB_VER} != 43 && ${WITH_BDB_VER} != 44
|
||||||
.elif ${WITH_BDB_VER} == 43
|
BROKEN= "WITH_BDB_VER must be 3, 4, 41, 42, 43 or 44"
|
||||||
BDB_SUFFIX= -4.3
|
|
||||||
.elif ${WITH_BDB_VER} != 3 && ${WITH_BDB_VER} != 41
|
|
||||||
BROKEN= "WITH_BDB_VER must be 3, 4, 41, 42 or 43"
|
|
||||||
.endif
|
.endif
|
||||||
USE_BDB?= ${WITH_BDB_VER}
|
USE_BDB?= ${WITH_BDB_VER}
|
||||||
BDB_SUFFIX?= ${WITH_BDB_VER}
|
|
||||||
CONFIGURE_ARGS+=--with-dblib=berkeley --with-bdb-libdir=${LOCALBASE}/lib \
|
CONFIGURE_ARGS+=--with-dblib=berkeley --with-bdb-libdir=${LOCALBASE}/lib \
|
||||||
--with-bdb-incdir=${LOCALBASE}/include/db${WITH_BDB_VER} \
|
--with-bdb-incdir=${BDB_INCLUDE_DIR} \
|
||||||
--with-bdb=db${BDB_SUFFIX}
|
--with-bdb=${BDB_LIB_NAME}
|
||||||
SASLDB_NAME= sasldb2
|
SASLDB_NAME= sasldb2
|
||||||
.else
|
.else
|
||||||
CONFIGURE_ARGS+=--with-dblib=ndbm
|
CONFIGURE_ARGS+=--with-dblib=ndbm
|
||||||
|
|
Loading…
Reference in a new issue