diff options
author | sergei <sergei@FreeBSD.org> | 2003-12-04 21:53:29 +0800 |
---|---|---|
committer | sergei <sergei@FreeBSD.org> | 2003-12-04 21:53:29 +0800 |
commit | c5714591e97baa5b4b301357575ac9e587fdb593 (patch) | |
tree | 4f340e5e78a0c2ff0b2694151d4ccd06fa03c454 /net-mgmt/nagios | |
parent | 0ed693196c702d20db12260f9851920c149ff952 (diff) | |
download | freebsd-ports-gnome-c5714591e97baa5b4b301357575ac9e587fdb593.tar.gz freebsd-ports-gnome-c5714591e97baa5b4b301357575ac9e587fdb593.tar.zst freebsd-ports-gnome-c5714591e97baa5b4b301357575ac9e587fdb593.zip |
- Add WITH_NAGMIN knob
- Utilize USE_MYSQL instead of explicit dependency
- Bump PORTREVISION
PR: 58950
Submitted by: Jim Shewmaker <jim@bluenotch.com>
Approved by: maintainer
Diffstat (limited to 'net-mgmt/nagios')
-rw-r--r-- | net-mgmt/nagios/Makefile | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/net-mgmt/nagios/Makefile b/net-mgmt/nagios/Makefile index 16d762142ebe..8f95cbd5cf39 100644 --- a/net-mgmt/nagios/Makefile +++ b/net-mgmt/nagios/Makefile @@ -7,7 +7,7 @@ PORTNAME= nagios PORTVERSION= 1.1 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= net MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR=nagios @@ -52,13 +52,21 @@ INCGD= -I${LOCALBASE}/include LIBGD= -lgd .endif -.if defined(WITH_MYSQL) -LIB_DEPENDS+= mysqlclient.10:${PORTSDIR}/databases/mysql323-client -CONFIGURE_ARGS+=--with-mysql-lib=${LOCALBASE}/lib/mysql \ +.if defined(WITH_MYSQL)||defined(WITH_NAGMIN) +USE_MYSQL= yes +CONFIGURE_ARGS+= --with-mysql-lib=${LOCALBASE}/lib/mysql \ --with-mysql-inc=${LOCALBASE}/include/mysql \ --with-mysql-xdata .endif +.if defined(WITH_NAGMIN) +RUN_DEPENDS+= nagmin:${PORTSDIR}/sysutils/nagmin +CONFIGURE_ARGS+= --with-myqsl-comments \ + --with-mysql-downtime \ + --with-mysql-retention \ + --with-mysql-status +.endif + .if defined(NAGIOS_FILE_PERFDATA) CONFIGURE_ARGS+=--with-file-perfdata .endif |