summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dns/p5-DNS-Zone/Makefile8
-rw-r--r--net/p5-DNS-Zone/Makefile8
2 files changed, 14 insertions, 2 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>
diff --git a/net/p5-DNS-Zone/Makefile b/net/p5-DNS-Zone/Makefile
index 1634d3961827..dc597ec254e7 100644
--- a/net/p5-DNS-Zone/Makefile
+++ b/net/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>