2006-05-25 12:36:49 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.130 2006/05/25 16:36:49 jakob Exp $
|
2000-09-25 17:02:29 -04:00
|
|
|
|
2006-05-25 12:36:49 -04:00
|
|
|
VERSION= 2.3-20060518
|
2001-09-14 19:48:45 -04:00
|
|
|
|
2002-05-15 02:20:04 -04:00
|
|
|
MASTER_SITES= ${MASTER_SITE_POSTFIX:=experimental/}
|
2000-09-25 17:02:29 -04:00
|
|
|
|
2005-12-25 02:13:45 -05:00
|
|
|
MAKE_CCARGS+= -DUSE_SASL_AUTH
|
|
|
|
|
2006-05-25 12:36:49 -04:00
|
|
|
FLAVORS+= dovecot
|
2005-12-25 02:13:45 -05:00
|
|
|
FLAVOR?=
|
|
|
|
|
2006-05-25 12:36:49 -04:00
|
|
|
.if ${FLAVOR:L:Msasl2} && ${FLAVOR:L:Mdovecot}
|
|
|
|
ERRORS+= "Fatal: Choose only one flavor: sasl2 or dovecot"
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if ${FLAVOR:L:Mdovecot}
|
|
|
|
RUN_DEPENDS+= ::mail/dovecot
|
|
|
|
MAKE_CCARGS+= -DUSE_SASL_AUTH -DDEF_SASL_SERVER="dovecot"
|
|
|
|
.endif
|
|
|
|
|
2005-12-25 02:13:45 -05:00
|
|
|
.if ${FLAVOR:L:Msasl2}
|
|
|
|
MAKE_CCARGS+= -DUSE_CYRUS_SASL
|
|
|
|
.endif
|
|
|
|
|
2000-09-25 17:02:29 -04:00
|
|
|
.include <bsd.port.mk>
|