svn commit: r485075 - head/net-mgmt/mk-livestatus

Tobias Kortkamp tobik at FreeBSD.org
Fri Nov 16 12:49:06 UTC 2018


Author: tobik
Date: Fri Nov 16 12:49:05 2018
New Revision: 485075
URL: https://svnweb.freebsd.org/changeset/ports/485075

Log:
  net-mgmt/mk-livestatus: Unbreak Nagios 3.x support
  
  Fix the NAGIOS4 option: The --without-nagios4 configure arg seems
  to be broken in 1.2.8p20 and actually also enables Nagios 4.x
  support.  Switch to just passing --with-nagios4 if NAGIOS4=on for
  the time being.
  
  $ mk-livestatus-1.2.8p20> ./configure --without-nagios4
  $ mk-livestatus-1.2.8p20> grep NAGIOS Makefile
  CPPFLAGS = -g -O2 -DNAGIOS4
  
  $ mk-livestatus-1.2.8p20> ./configure --with-nagios4
  $ mk-livestatus-1.2.8p20> grep CPPFLAGS Makefile
  CPPFLAGS = -g -O2 -DNAGIOS4
  
  $ mk-livestatus-1.2.8p20> ./configure
  $ mk-livestatus-1.2.8p20> grep CPPFLAGS Makefile
  CPPFLAGS =
  
  This makes sure that mk-livestatus is built with Nagios 3.x support
  again by default.
  
  PR:		232716
  Submitted by:	Leonid Vasiliev <leo9641 at yandex.ru>

Modified:
  head/net-mgmt/mk-livestatus/Makefile

Modified: head/net-mgmt/mk-livestatus/Makefile
==============================================================================
--- head/net-mgmt/mk-livestatus/Makefile	Fri Nov 16 11:25:56 2018	(r485074)
+++ head/net-mgmt/mk-livestatus/Makefile	Fri Nov 16 12:49:05 2018	(r485075)
@@ -3,6 +3,7 @@
 
 PORTNAME=	mk-livestatus
 PORTVERSION=	1.2.8p20
+PORTREVISION=	1
 CATEGORIES=	net-mgmt
 MASTER_SITES=	http://mathias-kettner.de/download/
 DIST_SUBDIR=	check_mk
@@ -38,7 +39,7 @@ EXAMPLES_USES=	python
 NAGIOS3_DESC=	build for nagios-3.x
 NAGIOS4_DESC=	build for nagios-4.x
 
-NAGIOS4_CONFIGURE_WITH=nagios4
+NAGIOS4_CONFIGURE_ON=	--with-nagios4
 
 # perl api is really outdated, do not install!
 # Actual version can be found on CPAN


More information about the svn-ports-all mailing list