diff options
Diffstat (limited to 'net-mgmt')
-rw-r--r-- | net-mgmt/nagios/Makefile | 8 | ||||
-rw-r--r-- | net-mgmt/nagios12/Makefile | 8 | ||||
-rw-r--r-- | net-mgmt/nagios2/Makefile | 8 |
3 files changed, 18 insertions, 6 deletions
diff --git a/net-mgmt/nagios/Makefile b/net-mgmt/nagios/Makefile index 39430cd5a9c0..bce678162792 100644 --- a/net-mgmt/nagios/Makefile +++ b/net-mgmt/nagios/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 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 diff --git a/net-mgmt/nagios2/Makefile b/net-mgmt/nagios2/Makefile index 39430cd5a9c0..bce678162792 100644 --- a/net-mgmt/nagios2/Makefile +++ b/net-mgmt/nagios2/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 |