aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/nagios12
diff options
context:
space:
mode:
authorDmitry Sivachenko <demon@FreeBSD.org>2003-04-23 10:40:02 +0000
committerDmitry Sivachenko <demon@FreeBSD.org>2003-04-23 10:40:02 +0000
commit49e0e21a443388bc93e6ce7ed7173105c7a106c5 (patch)
treeeffefcde4043df55d51e2d2cbb7e3115364b43df /net-mgmt/nagios12
parentfa75d09d694fe78e8911f41176995417dc8bf7de (diff)
downloadports-49e0e21a443388bc93e6ce7ed7173105c7a106c5.tar.gz
ports-49e0e21a443388bc93e6ce7ed7173105c7a106c5.zip
Notes
Diffstat (limited to 'net-mgmt/nagios12')
-rw-r--r--net-mgmt/nagios12/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/net-mgmt/nagios12/Makefile b/net-mgmt/nagios12/Makefile
index 39430cd5a9c0..bce678162792 100644
--- a/net-mgmt/nagios12/Makefile
+++ b/net-mgmt/nagios12/Makefile
@@ -15,8 +15,12 @@ MASTER_SITE_SUBDIR=nagios
MAINTAINER= blaz@si.FreeBSD.org
COMMENT= Extremely powerful network monitoring system
-LIB_DEPENDS= gd.2:${PORTSDIR}/graphics/gd \
- gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
+.if defined(WITH_GD2)
+LIB_DEPENDS= gd.4:${PORTSDIR}/graphics/gd2
+.else
+LIB_DEPENDS= gd.2:${PORTSDIR}/graphics/gd
+.endif
+LIB_DEPENDS+= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
RUN_DEPENDS= ${LOCALBASE}/libexec/nagios/check_nagios:${PORTSDIR}/net/nagios-plugins
GNU_CONFIGURE= yes