aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/smokeping
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2015-04-13 06:25:25 +0800
committermat <mat@FreeBSD.org>2015-04-13 06:25:25 +0800
commitfc9e51911450585b1c61ae085fe2ef1d689cee57 (patch)
tree34dea9bb1047d5ed6af6173ab208138eff76f1dc /net-mgmt/smokeping
parent1ccf16624c9cdc456a2c45dda0b023e693e33325 (diff)
downloadfreebsd-ports-gnome-fc9e51911450585b1c61ae085fe2ef1d689cee57.tar.gz
freebsd-ports-gnome-fc9e51911450585b1c61ae085fe2ef1d689cee57.tar.zst
freebsd-ports-gnome-fc9e51911450585b1c61ae085fe2ef1d689cee57.zip
CGI::* was removed in Perl 5.21.0
With hat: perl@ Sponsored by: Absolight
Diffstat (limited to 'net-mgmt/smokeping')
-rw-r--r--net-mgmt/smokeping/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/net-mgmt/smokeping/Makefile b/net-mgmt/smokeping/Makefile
index 15b397645324..f645ed44c95f 100644
--- a/net-mgmt/smokeping/Makefile
+++ b/net-mgmt/smokeping/Makefile
@@ -89,6 +89,11 @@ RUN_DEPENDS+= p5-Net-DNS>=0:${PORTSDIR}/dns/p5-Net-DNS
.include <bsd.port.pre.mk>
+.if ${PERL_LEVEL} >= 502100
+BUILD_DEPENDS+= p5-CGI-Fast>=0:${PORTSDIR}/www/p5-CGI-Fast
+RUN_DEPENDS+= p5-CGI-Fast>=0:${PORTSDIR}/www/p5-CGI-Fast
+.endif
+
# We will take these from CPAN instead
post-extract:
cd ${WRKSRC}/lib ; ${RM} BER.pm SNMP_util.pm SNMP_Session.pm