[Bug 232716] net-mgmt/mk-livestatus always build with NAGIOS4 support

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Oct 26 16:33:40 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=232716

            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 at FreeBSD.org
          Reporter: leo9641 at yandex.ru

Hello,

mk-livestatus always build with NAGIOS4 support:

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

--MAINTAINER--
ports at FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--
--without-nagios4 --prefix=/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=c++11 -fPIC -O2 -pipe -fstack-protector
-fno-strict-aliasing   -MT livestatus_so-AndingFilter.o -MD -MP -MF
.deps/livestatus_so-AndingFilter.Tpo -c -o livestatus_so-AndingFilter.o `test
-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
===================================================================
--- Makefile    (revision 483039)
+++ Makefile    (working copy)
@@ -38,7 +38,7 @@
 NAGIOS3_DESC=  build for nagios-3.x
 NAGIOS4_DESC=  build for nagios-4.x

-NAGIOS4_CONFIGURE_WITH=nagios4
+NAGIOS4_CONFIGURE_ON=  --with-nagios4

Thanks!

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


More information about the freebsd-ports-bugs mailing list