summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net/nagios-base/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/net/nagios-base/Makefile b/net/nagios-base/Makefile
index fe4949e35a8..c559939d60f 100644
--- a/net/nagios-base/Makefile
+++ b/net/nagios-base/Makefile
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.9 2006/08/17 14:19:00 taca Exp $
+# $NetBSD: Makefile,v 1.10 2006/10/20 08:45:10 rillig Exp $
#
DISTNAME= nagios-2.5
PKGNAME= ${DISTNAME:S/-/-base-/}
+PKGREVISION= 1
CATEGORIES= net sysutils
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=nagios/}
@@ -20,12 +21,15 @@ CONFIGURE_ARGS+= --with-gd-lib=${LOCALBASE}/lib \
--with-perlcache
CONFIGURE_ARGS+= --with-nagios-user=${NAGIOS_USER:Q}
-CONFIGURE_ARGS+= --with-nagios-grp=${NAGIOS_GROUP:Q}
+CONFIGURE_ARGS+= --with-nagios-group=${NAGIOS_GROUP:Q}
CONFIGURE_ARGS+= --with-command-user=${ROOT_USER:Q}
CONFIGURE_ARGS+= --with-command-grp=${ROOT_GROUP:Q}
CONFIGURE_ARGS+= --with-init-dir=${PREFIX}/share/examples/rc.d
CONFIGURE_ARGS+= --with-lockfile=/var/run/nagios/nagios.lock
+USE_TOOLS+= mail:run
+CONFIGURE_ARGS+= --with-mail=${TOOLS_PLATFORM.mail}
+
RCD_SCRIPTS+= nagios
INSTALL_TARGET= install install-config