Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Oct 2018 16:33:37 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 232716] net-mgmt/mk-livestatus always build with NAGIOS4 support
Message-ID:  <bug-232716-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D232716

            Bug ID: 232716
           Summary: net-mgmt/mk-livestatus always build with NAGIOS4
                    support
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: leo9641@yandex.ru

Hello,

mk-livestatus always build with NAGIOS4 support:

---Begin OPTIONS List---
=3D=3D=3D> The following configuration options are available for
mk-livestatus-1.2.8p20:
     EXAMPLES=3Don: Build and/or install examples
=3D=3D=3D=3D> Options available for the single NAGIOS: you have to select e=
xactly one
of them
     NAGIOS3=3Don: build for nagios-3.x
     NAGIOS4=3Doff: build for nagios-4.x
=3D=3D=3D> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
ports@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--
--without-nagios4 --prefix=3D/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

...

gmake[1]: Entering directory
'/wrkdirs/usr/ports/net-mgmt/mk-livestatus/work/mk-livestatus-1.2.8p20'
gmake  all-recursive
gmake[2]: Entering directory
'/wrkdirs/usr/ports/net-mgmt/mk-livestatus/work/mk-livestatus-1.2.8p20'
Making all in src
gmake[3]: Entering directory
'/wrkdirs/usr/ports/net-mgmt/mk-livestatus/work/mk-livestatus-1.2.8p20/src'
c++ -DHAVE_CONFIG_H -I. -I..   -O2 -pipe  -fstack-protector
-fno-strict-aliasing  -DNAGIOS4 -std=3Dc++11 -fPIC -O2 -pipe -fstack-protec=
tor
-fno-strict-aliasing   -MT livestatus_so-AndingFilter.o -MD -MP -MF
.deps/livestatus_so-AndingFilter.Tpo -c -o livestatus_so-AndingFilter.o `te=
st
-f 'AndingFilter.cc' || echo './'`AndingFilter.cc
In file included from AndingFilter.cc:28:
In file included from ./Query.h:37:
In file included from ./nagios.h:36:
In file included from ../nagios4/broker.h:26:
In file included from ../nagios4/nagios.h:33:
In file included from ../nagios4/config.h:214:

This patche solve problem:

Index: Makefile
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- Makefile    (revision 483039)
+++ Makefile    (working copy)
@@ -38,7 +38,7 @@
 NAGIOS3_DESC=3D  build for nagios-3.x
 NAGIOS4_DESC=3D  build for nagios-4.x

-NAGIOS4_CONFIGURE_WITH=3Dnagios4
+NAGIOS4_CONFIGURE_ON=3D  --with-nagios4

Thanks!

--=20
You are receiving this mail because:
You are the assignee for the bug.=



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