diff options
author | marino <marino@pkgsrc.org> | 2012-05-24 15:20:25 +0000 |
---|---|---|
committer | marino <marino@pkgsrc.org> | 2012-05-24 15:20:25 +0000 |
commit | 77a01e248e670716b735b94c58e428550698072f (patch) | |
tree | 3b710e035ccd1d691ebe0d37a64ffcbc009d0cec /net | |
parent | 64ba24b8ece8822c4559089089c39d88ac3be1c3 (diff) | |
download | pkgsrc-77a01e248e670716b735b94c58e428550698072f.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/Makefile | 6 |
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 |