diff options
author | Ade Lovett <ade@FreeBSD.org> | 2004-02-25 02:04:04 +0000 |
---|---|---|
committer | Ade Lovett <ade@FreeBSD.org> | 2004-02-25 02:04:04 +0000 |
commit | 790f3f78ffc42dc8bb419b5de20ecd3a067028a0 (patch) | |
tree | 922c4c7ec96607d08a4e834281c8ca3a4983fa8c /mail | |
parent | 9440be3a908757a35b6510f00abfa4aa00d29d99 (diff) |
Notes
Diffstat (limited to 'mail')
-rw-r--r-- | mail/courier-imap/Makefile | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/mail/courier-imap/Makefile b/mail/courier-imap/Makefile index d9102b3bad54..26d16075589b 100644 --- a/mail/courier-imap/Makefile +++ b/mail/courier-imap/Makefile @@ -7,7 +7,7 @@ PORTNAME= courier-imap PORTVERSION= 2.2.1 -PORTREVISION= 2 +PORTREVISION= 3 PORTEPOCH= 1 CATEGORIES= mail ipv6 MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} @@ -47,6 +47,7 @@ CONFIGURE_ENV= CFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \ # WITH_FAM: Build in fam support for IDLE command # WITH_DRAC: Build in DRAC support # WITH_TRASHQUOTA: Include deleted mails in the quota +# WITH_GDBM: Use gdbm files instead of bdb # CONFDIR?= ${PREFIX}/etc/${PORTNAME} @@ -79,6 +80,17 @@ CONFIGURE_ARGS= --without-authshadow \ --disable-root-check \ --with-locking-method=fcntl +# Without explicitly mentioning this, if gdbm libraries are present, +# they are silently picked up and used by courier-imap in place of +# the standard db (v1) files. +# +.if defined(WITH_GDBM) +LIB_DEPENDS+= gdbm.3:${PORTSDIR}/databases/gdbm +CONFIGURE_ARGS+= --with-db=gdbm +.else +CONFIGURE_ARGS+= --with-db=db +.endif + .if !defined(WITH_VPOPMAIL) CONFIGURE_ARGS+=--without-authvchkpw PLIST_SUB+= VPOPMAILFLAG="@comment " |