Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Nov 2018 12:49:05 +0000 (UTC)
From:      Tobias Kortkamp <tobik@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r485075 - head/net-mgmt/mk-livestatus
Message-ID:  <201811161249.wAGCn5hu079132@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201811161249.wAGCn5hu079132>