aboutsummaryrefslogtreecommitdiff
path: root/dns/p5-DNS-Zone
diff options
context:
space:
mode:
Diffstat (limited to 'dns/p5-DNS-Zone')
-rw-r--r--dns/p5-DNS-Zone/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/dns/p5-DNS-Zone/Makefile b/dns/p5-DNS-Zone/Makefile
index 1634d3961827..dc597ec254e7 100644
--- a/dns/p5-DNS-Zone/Makefile
+++ b/dns/p5-DNS-Zone/Makefile
@@ -26,4 +26,10 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500600
+IGNORE= "Perl 5.6 or newer required. Install lang/perl5 or lang/perl5.8 and try again."
+.endif
+
+.include <bsd.port.post.mk>