summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mail/dovecot2/Makefile.common8
1 files changed, 5 insertions, 3 deletions
diff --git a/mail/dovecot2/Makefile.common b/mail/dovecot2/Makefile.common
index 4517926884a..bc73cb30fa0 100644
--- a/mail/dovecot2/Makefile.common
+++ b/mail/dovecot2/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.6 2017/04/13 01:59:08 taca Exp $
+# $NetBSD: Makefile.common,v 1.7 2017/04/19 09:05:16 jperkin Exp $
#
# when updating to a new release, update ABI depends in
# the buildlink3.mk file as well, since the plugins' version
@@ -38,8 +38,10 @@ CONFIGURE_ARGS+= --with-sql
TEST_TARGET= check
-# Explicitly disable inotify on illumos, it is provided for Linux compat only.
-CONFIGURE_ENV.SunOS+= ac_cv_func_inotify_init=no
+# Explicitly disable epoll/inotify on illumos, dovecot assumes Linux-specific
+# implementation details.
+CONFIGURE_ARGS.SunOS+= --with-ioloop=poll
+CONFIGURE_ARGS.SunOS+= --with-notify=none
# Sharing sources between binary and lib triggers libtool bugs
# mv: rename .deps/auth-stats.Tpo to .deps/auth-stats.Po: No such file or directory