diff options
author | Hajimu UMEMOTO <ume@FreeBSD.org> | 2005-02-25 17:45:03 +0000 |
---|---|---|
committer | Hajimu UMEMOTO <ume@FreeBSD.org> | 2005-02-25 17:45:03 +0000 |
commit | 7aad728cfc3be5163dcb0090882e85b013aa7484 (patch) | |
tree | 9e74c6c318b56bba8b5dd88b3835c275f7b859ca /mail/cyrus-imapd22 | |
parent | 46eb4c79f26beda27051f3e776844cadca84be07 (diff) | |
download | ports-7aad728cfc3be5163dcb0090882e85b013aa7484.tar.gz ports-7aad728cfc3be5163dcb0090882e85b013aa7484.zip |
Notes
Diffstat (limited to 'mail/cyrus-imapd22')
-rw-r--r-- | mail/cyrus-imapd22/Makefile | 36 |
1 files changed, 21 insertions, 15 deletions
diff --git a/mail/cyrus-imapd22/Makefile b/mail/cyrus-imapd22/Makefile index a0386f8bb2c6..0ca3bf6a3a64 100644 --- a/mail/cyrus-imapd22/Makefile +++ b/mail/cyrus-imapd22/Makefile @@ -101,15 +101,15 @@ OPTIONS+= PASS8BITHACK "Add pass8bit option (not recommended)" off BROKEN= "You need to select one BDB version. Run 'make config' again!" .endif .if ${USE_BDB_VER} == 3 -WITH_BDB_3= yes +WITH_BDB_3= true .elif ${USE_BDB_VER} == 4 -WITH_BDB_4= yes +WITH_BDB_4= true .elif ${USE_BDB_VER} == 41 -WITH_BDB_41= yes +WITH_BDB_41= true .elif ${USE_BDB_VER} == 42 -WITH_BDB_42= yes +WITH_BDB_42= true .elif ${USE_BDB_VER} == 43 -WITH_BDB_43= yes +WITH_BDB_43= true .endif .endif .if (defined(WITH_BDB_3) && defined(WITH_BDB_4)) || \ @@ -125,21 +125,27 @@ WITH_BDB_43= yes BROKEN= "Multiple BDB versions selected. Run 'make config' again!" .endif .if defined(WITH_BDB_3) -LIB_DEPENDS+= db3.3:${PORTSDIR}/databases/db3 -CONFIGURE_ARGS+=--with-bdb-incdir=${LOCALBASE}/include/db3 --with-bdb=db3 +BDB_VER= 3 +BDB_MAJOR= 3 .elif defined(WITH_BDB_4) -LIB_DEPENDS+= db4.0:${PORTSDIR}/databases/db4 -CONFIGURE_ARGS+=--with-bdb-incdir=${LOCALBASE}/include/db4 --with-bdb=db4 +BDB_VER= 4 +BDB_MAJOR= 0 .elif defined(WITH_BDB_41) -LIB_DEPENDS+= db41.1:${PORTSDIR}/databases/db41 -CONFIGURE_ARGS+=--with-bdb-incdir=${LOCALBASE}/include/db41 --with-bdb=db41 +BDB_VER= 41 +BDB_MAJOR= 1 .elif defined(WITH_BDB_42) -LIB_DEPENDS+= db-4.2.2:${PORTSDIR}/databases/db42 -CONFIGURE_ARGS+=--with-bdb-incdir=${LOCALBASE}/include/db42 --with-bdb=db-4.2 +BDB_VER= 42 +BDB_SUFFIX= -4.2 +BDB_MAJOR= 2 .elif defined(WITH_BDB_43) -LIB_DEPENDS+= db-4.3.0:${PORTSDIR}/databases/db43 -CONFIGURE_ARGS+=--with-bdb-incdir=${LOCALBASE}/include/db43 --with-bdb=db-4.3 +BDB_VER= 43 +BDB_SUFFIX= -4.3 +BDB_MAJOR= 0 .endif +BDB_SUFFIX?= ${BDB_VER} +LIB_DEPENDS= db${BDB_SUFFIX}.${BDB_MAJOR}:${PORTSDIR}/databases/db${BDB_VER} +CONFIGURE_ARGS+=--with-bdb-incdir=${LOCALBASE}/include/db${BDB_VER} \ + --with-bdb=db${BDB_SUFFIX} .if defined(WITH_NNTP) CONFIGURE_ARGS+=--enable-nntp |