pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/trafficserver Avoid identifying inotify on modern ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1c2d403d9b2e
branches:  trunk
changeset: 373509:1c2d403d9b2e
user:      fhajny <fhajny%pkgsrc.org@localhost>
date:      Wed Jan 03 15:55:36 2018 +0000

description:
Avoid identifying inotify on modern SunOS platforms, fixes build.

diffstat:

 www/trafficserver/Makefile |  8 +++++++-
 www/trafficserver/PLIST    |  4 ++--
 2 files changed, 9 insertions(+), 3 deletions(-)

diffs (47 lines):

diff -r bcf21456f2e1 -r 1c2d403d9b2e www/trafficserver/Makefile
--- a/www/trafficserver/Makefile        Wed Jan 03 13:17:08 2018 +0000
+++ b/www/trafficserver/Makefile        Wed Jan 03 15:55:36 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2018/01/01 21:18:56 adam Exp $
+# $NetBSD: Makefile,v 1.5 2018/01/03 15:55:36 fhajny Exp $
 
 DISTNAME=      trafficserver-7.1.1
 PKGREVISION=   1
@@ -90,6 +90,7 @@
 CONFIGURE_ARGS+=       --with-xml=expat
 
 CONFIGURE_ENV.SunOS+=  ac_cv_func_epoll_ctl=no
+CONFIGURE_ENV.SunOS+=  ac_cv_func_inotify_init=no
 CONFIGURE_ENV+=                SPHINXBUILD=sphinx-build${PYVERSSUFFIX}
 
 REPLACE_BASH+=         tools/tsxs.in
@@ -103,6 +104,11 @@
 SMF_SRCDIR=            ${WRKSRC}/rc
 SMF_MANIFEST=          trafficserver.xml
 
+PLIST_VARS+=           inotify
+.if ${OPSYS} == "Linux"
+PLIST.inotify=         yes
+.endif
+
 TEST_TARGET=           check
 
 .include "../../devel/libexecinfo/buildlink3.mk"
diff -r bcf21456f2e1 -r 1c2d403d9b2e www/trafficserver/PLIST
--- a/www/trafficserver/PLIST   Wed Jan 03 13:17:08 2018 +0000
+++ b/www/trafficserver/PLIST   Wed Jan 03 15:55:36 2018 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2017/08/17 14:57:09 fhajny Exp $
+@comment $NetBSD: PLIST,v 1.2 2018/01/03 15:55:36 fhajny Exp $
 bin/traffic_cop
 bin/traffic_crashlog
 bin/traffic_ctl
@@ -67,7 +67,7 @@
 libexec/trafficserver/generator.la
 libexec/trafficserver/gzip.la
 libexec/trafficserver/header_rewrite.la
-libexec/trafficserver/healthchecks.la
+${PLIST.inotify}libexec/trafficserver/healthchecks.la
 libexec/trafficserver/libloader.la
 libexec/trafficserver/regex_remap.la
 libexec/trafficserver/regex_revalidate.la



Home | Main Index | Thread Index | Old Index