aboutsummaryrefslogtreecommitdiffstats
path: root/mail/dovecot-devel/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'mail/dovecot-devel/Makefile')
-rw-r--r--mail/dovecot-devel/Makefile15
1 files changed, 10 insertions, 5 deletions
diff --git a/mail/dovecot-devel/Makefile b/mail/dovecot-devel/Makefile
index 13277fd5936e..6d7747f4f456 100644
--- a/mail/dovecot-devel/Makefile
+++ b/mail/dovecot-devel/Makefile
@@ -7,7 +7,7 @@
#
PORTNAME= dovecot
-DISTVERSION= 1.0.beta9
+DISTVERSION= 1.0.rc2
CATEGORIES= mail ipv6
MASTER_SITES= http://www.dovecot.org/releases/
@@ -23,8 +23,6 @@ CONFIGURE_ARGS= --without-shadow --localstatedir=/var
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
-SUB_FILES= pkg-message
-
.if !defined(NOPORTDOCS)
PORTDOCS= USE-WIKI-INSTEAD \
auth-protocol.txt auth.txt configuration.txt design.txt \
@@ -41,13 +39,14 @@ OPTIONS= KQUEUE "kqueue(2) support" on \
LDAP "OpenLDAP support" off \
PGSQL "PostgreSQL support" off \
MYSQL "MySQL support" off \
- SQLITE "SQLite support" off
+ SQLITE "SQLite support" off \
+ IPV6 "IPv6 support" on
.include <bsd.port.pre.mk>
## kqueue(2) support
#
-.if defined(WITH_KQUEUE)
+.if !defined(WITHOUT_KQUEUE)
CONFIGURE_ARGS+= --with-ioloop=kqueue --with-notify=kqueue
.endif
@@ -104,6 +103,12 @@ USE_SQLITE= 3
CONFIGURE_ARGS+= --with-sqlite
.endif
+## IPv6 support
+#
+.if defined(WITHOUT_IPV6) || $(OSVERSION) <= 400014
+CONFIGURE_ARGS+= --disable-ipv6
+.endif
+
post-build:
@${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},g' \
${WRKSRC}/dovecot-example.conf