aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/nagios2
diff options
context:
space:
mode:
authorNorikatsu Shigemura <nork@FreeBSD.org>2003-08-18 16:15:10 +0000
committerNorikatsu Shigemura <nork@FreeBSD.org>2003-08-18 16:15:10 +0000
commitefb928619b234d49b326a13f59a6e2ee354bf902 (patch)
treec62bd82140831e81442480b9cefc699e0c08f08d /net-mgmt/nagios2
parentdfc14c855f8ec76c9bd42bc90e325a160cc5d6cf (diff)
downloadports-efb928619b234d49b326a13f59a6e2ee354bf902.tar.gz
ports-efb928619b234d49b326a13f59a6e2ee354bf902.zip
Notes
Diffstat (limited to 'net-mgmt/nagios2')
-rw-r--r--net-mgmt/nagios2/Makefile16
1 files changed, 8 insertions, 8 deletions
diff --git a/net-mgmt/nagios2/Makefile b/net-mgmt/nagios2/Makefile
index 3df6e0f4dc54..16d762142ebe 100644
--- a/net-mgmt/nagios2/Makefile
+++ b/net-mgmt/nagios2/Makefile
@@ -7,7 +7,7 @@
PORTNAME= nagios
PORTVERSION= 1.1
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=nagios
@@ -15,10 +15,10 @@ MASTER_SITE_SUBDIR=nagios
MAINTAINER= blaz@si.FreeBSD.org
COMMENT= Extremely powerful network monitoring system
-.if defined(WITH_GD2)
-LIB_DEPENDS= gd.4:${PORTSDIR}/graphics/gd2
+.if defined(WITH_GD1)
+LIB_DEPENDS= gd1.2:${PORTSDIR}/graphics/gd1
.else
-LIB_DEPENDS= gd1.2:${PORTSDIR}/graphics/gd
+LIB_DEPENDS= gd.4:${PORTSDIR}/graphics/gd
.endif
RUN_DEPENDS= ${LOCALBASE}/libexec/nagios/check_nagios:${PORTSDIR}/net/nagios-plugins
@@ -44,12 +44,12 @@ CONFIGURE_ARGS= --with-command-user=nagios \
--localstatedir=/var/spool/nagios \
--prefix=${PREFIX}
-.if defined(WITH_GD2)
-INCGD= -I${LOCALBASE}/include
-LIBGD= -lgd
-.else
+.if defined(WITH_GD1)
INCGD= -I${LOCALBASE}/include/gd
LIBGD= -lgd1
+.else
+INCGD= -I${LOCALBASE}/include
+LIBGD= -lgd
.endif
.if defined(WITH_MYSQL)