diff options
author | Wesley Shields <wxs@FreeBSD.org> | 2009-03-30 14:13:49 +0000 |
---|---|---|
committer | Wesley Shields <wxs@FreeBSD.org> | 2009-03-30 14:13:49 +0000 |
commit | e39ca1479413ea8fea3d39155f8cc711eccdd4dd (patch) | |
tree | 42b155ed21459a6542e4173fd79473cd8b8a23c3 /net-mgmt/nagios | |
parent | 969f715ab07cd5474d274edac0ca0123fb138896 (diff) | |
download | ports-e39ca1479413ea8fea3d39155f8cc711eccdd4dd.tar.gz ports-e39ca1479413ea8fea3d39155f8cc711eccdd4dd.zip |
Notes
Diffstat (limited to 'net-mgmt/nagios')
-rw-r--r-- | net-mgmt/nagios/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/net-mgmt/nagios/Makefile b/net-mgmt/nagios/Makefile index 93deff4bf6c2..b21bfe40654c 100644 --- a/net-mgmt/nagios/Makefile +++ b/net-mgmt/nagios/Makefile @@ -25,7 +25,8 @@ CONFLICTS= nagios-[12].* nagios-devel-* OPTIONS= EMBEDDED_PERL "Enable embedded Perl [requires Perl 5.8.0+]" off \ NANOSLEEP "Use nanosleep in event timing" off \ - EVENT_BROKER "Enable event broker functionality" off + EVENT_BROKER "Enable event broker functionality" off \ + UNHANDLED_HACK "Display passive checks in unhandled queries" off GNU_CONFIGURE= yes @@ -104,6 +105,12 @@ CONFIGURE_ARGS+= --enable-event-broker CONFIGURE_ARGS+= --disable-event-broker .endif +post-patch: +.if defined(WITH_UNHANDLED_HACK) + @${REINPLACE_CMD} -e 's#\&serviceprops=42\&#\&serviceprops=10\&#g' \ + -e 's#\&hostprops=42\"#\&hostprops=10\"#g' ${WRKSRC}/html/side.html.in +.endif + pre-install: @${SH} ${PKGINSTALL} ${DISTNAME} PRE-INSTALL |