aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/mk-livestatus
diff options
context:
space:
mode:
authorTobias Kortkamp <tobik@FreeBSD.org>2019-04-15 08:34:48 +0000
committerTobias Kortkamp <tobik@FreeBSD.org>2019-04-15 08:34:48 +0000
commite8fc7ed441ac61729c6a46870ee9dd365932e44b (patch)
tree5ebfe778862d0a99fee92d6e953fe66fb5931f41 /net-mgmt/mk-livestatus
parent5b0983473451ad458ceafb24ebe40ef554945f4e (diff)
downloadports-e8fc7ed441ac61729c6a46870ee9dd365932e44b.tar.gz
ports-e8fc7ed441ac61729c6a46870ee9dd365932e44b.zip
net-mgmt/mk-livestatus: Restore fix from r485075
mk-livestatus always builds with Nagios 4 support again and --without-nagios4 is still broken. PR: 232716 Reported by: Leonid Vasiliev <leo9641@yandex.ru> Approved by: egypcio (maintainer)
Notes
Notes: svn path=/head/; revision=499002
Diffstat (limited to 'net-mgmt/mk-livestatus')
-rw-r--r--net-mgmt/mk-livestatus/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/net-mgmt/mk-livestatus/Makefile b/net-mgmt/mk-livestatus/Makefile
index 50827a5de628..bfd153bba752 100644
--- a/net-mgmt/mk-livestatus/Makefile
+++ b/net-mgmt/mk-livestatus/Makefile
@@ -3,6 +3,7 @@
PORTNAME= mk-livestatus
PORTVERSION= 1.2.8p25
+PORTREVISION= 1
CATEGORIES= net-mgmt
MASTER_SITES= http://mathias-kettner.de/download/
DIST_SUBDIR= check_mk
@@ -39,7 +40,10 @@ PERL_DESC= Install Monitoring-Livestatus Perl API
EXAMPLES_USES= python
NAGIOS3_RUN_DEPENDS= nagios>=3.5.1:net-mgmt/nagios
-NAGIOS4_CONFIGURE_WITH= nagios4
+# --without-nagios4 is broken and is equivalent to --with-nagios4,
+# so do not use NAGIOS4_CONFIGURE_WITH here or it breaks the NAGIOS3
+# option, cf. PR 232716.
+NAGIOS4_CONFIGURE_ON= --with-nagios4
NAGIOS4_RUN_DEPENDS= nagios4>=4.4:net-mgmt/nagios4
PERL_RUN_DEPENDS= p5-Monitoring-Livestatus>=0:net-mgmt/p5-Monitoring-Livestatus