pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/nagios-plugins Unbreak build on Linux -- there's a...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2e7880ac9154
branches:  trunk
changeset: 553064:2e7880ac9154
user:      shattered <shattered%pkgsrc.org@localhost>
date:      Tue Jan 13 17:11:33 2009 +0000

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

OK by wiz@.

diffstat:

 net/nagios-plugins/Makefile |  9 +++++++--
 net/nagios-plugins/PLIST    |  3 ++-
 2 files changed, 9 insertions(+), 3 deletions(-)

diffs (45 lines):

diff -r af56d44cdaf2 -r 2e7880ac9154 net/nagios-plugins/Makefile
--- a/net/nagios-plugins/Makefile       Tue Jan 13 16:27:24 2009 +0000
+++ b/net/nagios-plugins/Makefile       Tue Jan 13 17:11:33 2009 +0000
@@ -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@localhost
-PKGREVISION=   1
+PKGREVISION=   2
 HOMEPAGE=      http://sourceforge.net/projects/nagiosplug/
 COMMENT=       Nagios plugins
 
@@ -20,6 +20,11 @@
 
 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 -r af56d44cdaf2 -r 2e7880ac9154 net/nagios-plugins/PLIST
--- a/net/nagios-plugins/PLIST  Tue Jan 13 16:27:24 2009 +0000
+++ b/net/nagios-plugins/PLIST  Tue Jan 13 17:11:33 2009 +0000
@@ -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_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



Home | Main Index | Thread Index | Old Index