summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authormarino <marino>2012-05-24 15:20:25 +0000
committermarino <marino>2012-05-24 15:20:25 +0000
commit701a4796e167d19d09f2b135ec2e3f9e76484656 (patch)
tree3b710e035ccd1d691ebe0d37a64ffcbc009d0cec /net
parent985ff473205d6bf4c199704b9714125b0a6fb9df (diff)
downloadpkgsrc-701a4796e167d19d09f2b135ec2e3f9e76484656.tar.gz
net/nagios-plugins: Fix unwanted directory removal
Currently it's possible to install Nagios plugins independently of net/nagios-base. However, the directories that the plugins install into are created and owned by net/nagios-base, so it has to be installed first to avoid unwanted directory removal when the only plugin is deinstalled.
Diffstat (limited to 'net')
-rw-r--r--net/nagios-plugins/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/net/nagios-plugins/Makefile b/net/nagios-plugins/Makefile
index 53a6068d5c3..17f42a4de3f 100644
--- a/net/nagios-plugins/Makefile
+++ b/net/nagios-plugins/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.26 2012/01/16 22:09:59 sbd Exp $
+# $NetBSD: Makefile,v 1.27 2012/05/24 15:20:25 marino Exp $
#
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= net sysutils
MAINTAINER= pkgsrc-users@NetBSD.org
@@ -43,6 +43,8 @@ MAKE_ENV+= CPPFLAGS_LFS=${CPPFLAGS_LFS:Q}
.endif
LIBS.SunOS+= -lm
+DEPENDS+= nagios-base-*:../../net/nagios-base
+
.if !exists(/usr/bin/ssh)
DEPENDS+= {ssh{,6}-[0-9]*,openssh-[0-9]*}:../../security/openssh
.endif