Unbreak build on Linux -- there's a Linux-specific plugin (check_ide_smart).

OK by wiz@.
This commit is contained in:
shattered 2009-01-13 17:11:33 +00:00
parent d5e9db17c1
commit 9d30b0a3c2
2 changed files with 9 additions and 3 deletions

View file

@ -1,10 +1,10 @@
# $NetBSD: Makefile,v 1.15 2008/06/08 14:08:47 tonnerre Exp $
# $NetBSD: Makefile,v 1.16 2009/01/13 17:11:33 shattered Exp $
#
CATEGORIES= net sysutils
MAINTAINER= tonnerre@NetBSD.org
PKGREVISION= 1
PKGREVISION= 2
HOMEPAGE= http://sourceforge.net/projects/nagiosplug/
COMMENT= Nagios plugins
@ -20,6 +20,11 @@ CONFIGURE_ARGS+= --without-pgsql --without-mysql \
SPECIAL_PERMS+= ${PREFIX}/libexec/nagios/check_icmp ${REAL_ROOT_USER} ${NAGIOS_GROUP} 4550
PLIST_VARS+= linux
.if ${OPSYS} == "Linux"
PLIST.linux= yes
.endif
.if ${OPSYS} == "NetBSD"
CONFIGURE_ARGS+= --with-df-command="/bin/df -Pklt nokernfs,procfs,fdesc"
.endif

View file

@ -1,4 +1,4 @@
@comment $NetBSD: PLIST,v 1.3 2008/05/27 21:22:03 tonnerre Exp $
@comment $NetBSD: PLIST,v 1.4 2009/01/13 17:11:33 shattered Exp $
libexec/nagios/check_by_ssh
libexec/nagios/check_clamd
libexec/nagios/check_dhcp
@ -10,6 +10,7 @@ libexec/nagios/check_file_age
libexec/nagios/check_ftp
libexec/nagios/check_http
libexec/nagios/check_icmp
${PLIST.linux}libexec/nagios/check_ide_smart
libexec/nagios/check_imap
libexec/nagios/check_ircd
libexec/nagios/check_jabber