Remove redundant check for DOVECOT_USE_{MAILDIR,MBOX}.

This commit is contained in:
Juan Romero Pardines 2004-03-05 06:43:50 +00:00 committed by Thomas Klausner
parent cff3e8cc4c
commit bd13f78d07

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.3 2004/03/05 06:40:47 xtraeme Exp $
# $NetBSD: Makefile,v 1.4 2004/03/05 06:43:50 xtraeme Exp $
DISTNAME= dovecot-${_DOVECOT_VER}
PKGNAME= dovecot-nightly-${_DOVECOT_VER}
@ -31,9 +31,7 @@ _DOVECOT_VER!= ${DATE} +%Y%m%d
BUILD_DEFS+= DOVECOT_USE_GNUTLS DOVECOT_USE_PGSQL \
USE_INET6 USE_OPENLDAP USE_SASL2
.if defined(DOVECOT_USE_MBOX) && !empty(DOVECOT_USE_MBOX:M[Yy][Ee][Ss]) && defined(DOVECOT_USE_MAILDIR) && !empty(DOVECOT_USE_MAILDIR:M[Yy][Ee][Ss])
CONFIGURE_ARGS+= --with-storages=maildir,mbox
.elif defined(DOVECOT_USE_MBOX) && !empty(DOVECOT_USE_MBOX:M[Yy][Ee][Ss])
.if defined(DOVECOT_USE_MBOX) && !empty(DOVECOT_USE_MBOX:M[Yy][Ee][Ss])
CONFIGURE_ARGS+= --with-storages=mbox
.elif defined(DOVECOT_USE_MAILDIR) && !empty(DOVECOT_USE_MAILDIR:M[Yy][Ee][Ss])
CONFIGURE_ARGS+= --with-storages=maildir