pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mail/rspamd rspamd: Disable inotify on SunOS, assumes ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/93e9cbfaf15a
branches:  trunk
changeset: 405740:93e9cbfaf15a
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Fri Dec 06 16:37:52 2019 +0000

description:
rspamd: Disable inotify on SunOS, assumes Linux.

diffstat:

 mail/rspamd/Makefile |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 5bbe6adb0404 -r 93e9cbfaf15a mail/rspamd/Makefile
--- a/mail/rspamd/Makefile      Fri Dec 06 15:39:06 2019 +0000
+++ b/mail/rspamd/Makefile      Fri Dec 06 16:37:52 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.58 2019/11/17 11:11:21 wiz Exp $
+# $NetBSD: Makefile,v 1.59 2019/12/06 16:37:52 jperkin Exp $
 
 DISTNAME=      rspamd-2.1
 CATEGORIES=    mail
@@ -62,6 +62,9 @@
 CMAKE_ARGS+=   -DENABLE_LUAJIT=OFF
 CMAKE_ARGS+=   -DENABLE_TORCH=OFF
 
+# Assumes inotify == Linux
+CMAKE_ARGS.SunOS+=     -DHAVE_INOTIFY_INIT=NO
+
 REPLACE_PERL+= utils/rspamd_stats.pl
 
 MAKE_DIRS+=    ${PKG_SYSCONFDIR}/modules.d



Home | Main Index | Thread Index | Old Index