diff options
author | shattered <shattered> | 2009-01-13 17:11:33 +0000 |
---|---|---|
committer | shattered <shattered> | 2009-01-13 17:11:33 +0000 |
commit | ba4a6b75f25315c00bcb6e9c19ec1ed12fbf7e75 (patch) | |
tree | 39fb4ea554f50ed75915bb633396ce912a2d9f3e /net | |
parent | b33afbf4baef9bce02385c0cac4e4470dac0b641 (diff) | |
download | pkgsrc-ba4a6b75f25315c00bcb6e9c19ec1ed12fbf7e75.tar.gz |
Unbreak build on Linux -- there's a Linux-specific plugin (check_ide_smart).
OK by wiz@.
Diffstat (limited to 'net')
-rw-r--r-- | net/nagios-plugins/Makefile | 9 | ||||
-rw-r--r-- | net/nagios-plugins/PLIST | 3 |
2 files changed, 9 insertions, 3 deletions
diff --git a/net/nagios-plugins/Makefile b/net/nagios-plugins/Makefile index 4fba6cc09ba..3d9ccf8ced4 100644 --- a/net/nagios-plugins/Makefile +++ b/net/nagios-plugins/Makefile @@ -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 diff --git a/net/nagios-plugins/PLIST b/net/nagios-plugins/PLIST index 2f92f612986..39ef3b4d446 100644 --- a/net/nagios-plugins/PLIST +++ b/net/nagios-plugins/PLIST @@ -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 |