MFH: r499002

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)

Approved by:	ports-secteam blanket
This commit is contained in:
Tobias Kortkamp 2019-04-15 08:35:56 +00:00
parent a6fe1115dc
commit 9ab2b3ac86
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/branches/2019Q2/; revision=499003

View File

@ -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