aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/smokeping
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2015-04-12 22:25:25 +0000
committerMathieu Arnold <mat@FreeBSD.org>2015-04-12 22:25:25 +0000
commitcdd3297c5a1e0d68ff4be45b6bde97130bd11776 (patch)
tree34dea9bb1047d5ed6af6173ab208138eff76f1dc /net-mgmt/smokeping
parent8455ebaab5ffa11bd62c4de99c35ee9ad93a344f (diff)
downloadports-cdd3297c5a1e0d68ff4be45b6bde97130bd11776.tar.gz
ports-cdd3297c5a1e0d68ff4be45b6bde97130bd11776.zip
CGI::* was removed in Perl 5.21.0
With hat: perl@ Sponsored by: Absolight
Notes
Notes: svn path=/head/; revision=383889
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