pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mail/dovecot2 Explicitly disable epoll/inotify on illu...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7711d1a11291
branches:  trunk
changeset: 361265:7711d1a11291
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Wed Apr 19 09:05:16 2017 +0000

description:
Explicitly disable epoll/inotify on illumos, based on patch in PR#52176.

diffstat:

 mail/dovecot2/Makefile.common |  8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diffs (22 lines):

diff -r 9f2beebbbf79 -r 7711d1a11291 mail/dovecot2/Makefile.common
--- a/mail/dovecot2/Makefile.common     Wed Apr 19 07:34:12 2017 +0000
+++ b/mail/dovecot2/Makefile.common     Wed Apr 19 09:05:16 2017 +0000
@@ -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 @@
 
 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



Home | Main Index | Thread Index | Old Index