diff options
author | sheldonh <sheldonh@FreeBSD.org> | 2004-01-21 09:49:42 +0000 |
---|---|---|
committer | sheldonh <sheldonh@FreeBSD.org> | 2004-01-21 09:49:42 +0000 |
commit | 17da82730f49cf965e5f4457eb9eb03b42ece36a (patch) | |
tree | d091ee12477fb27682b91ccd6d7ccb49ad8047cf /mail | |
parent | 7b0956951c792736c3149652c676413930cdc4ee (diff) | |
download | FreeBSD-ports-17da82730f49cf965e5f4457eb9eb03b42ece36a.zip FreeBSD-ports-17da82730f49cf965e5f4457eb9eb03b42ece36a.tar.gz |
Provide support for Berkeley DB 4.2, through WITH_BDB_VER=42.
Submitted by: eik
Diffstat (limited to 'mail')
-rw-r--r-- | mail/exim/Makefile | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/mail/exim/Makefile b/mail/exim/Makefile index 09d4a6b..30c1983 100644 --- a/mail/exim/Makefile +++ b/mail/exim/Makefile @@ -113,8 +113,8 @@ EXIM_GROUP?= mail #WITH_OPENLDAP_VER= 21 # WITH_BDB_VER is the version of the Berkeley DB library to use, and -# may be 1, which corresponds to version 1.85 in the base system, 4 or -# 41 which depends on the databases/db4 or databases/db41 port. +# may be 1, which corresponds to version 1.85 in the base system, 4, +# 41 or 42 which depends on the databases/db4[12] ports. WITH_BDB_VER?=1 # When Exim is decoding MIME "words" in header lines it converts any foreign @@ -244,8 +244,12 @@ LIB_DEPENDS+= db4.0:${PORTSDIR}/databases/db4 DB_LIBS= -L${LOCALBASE}/lib -ldb41 DB_INCLUDES= -I${LOCALBASE}/include/db41 LIB_DEPENDS+= db41.1:${PORTSDIR}/databases/db41 +.elif (${WITH_BDB_VER} == 42) +DB_LIBS= -L${LOCALBASE}/lib -ldb-4.2 +DB_INCLUDES= -I${LOCALBASE}/include/db42 +LIB_DEPENDS+= db-4.2.2:${PORTSDIR}/databases/db42 .else -BROKEN= WITH_BDB_VER must be either 1, 4 or 41 +BROKEN= WITH_BDB_VER must be either 1, 4, 41 or 42 .endif SEDLIST+= -e 's,XX_DB_LIBS_XX,${DB_LIBS},' \ -e 's,XX_DB_INCLUDES_XX,${DB_INCLUDES},' |