aboutsummaryrefslogtreecommitdiff
path: root/dns/p5-DNS-Zone
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2003-05-08 23:28:50 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2003-05-08 23:28:50 +0000
commitbb22599d96bab0543a1e967be4e8828671005852 (patch)
treef4246635f0e6d8819e9c8f4f34f45e2b112f8f3b /dns/p5-DNS-Zone
parent3cb1fc6bb03ce4c06591addf34527f02ac5d3897 (diff)
downloadports-bb22599d96bab0543a1e967be4e8828671005852.tar.gz
ports-bb22599d96bab0543a1e967be4e8828671005852.zip
only for perl 5.6 and higher
Noticed by: bento
Notes
Notes: svn path=/head/; revision=80477
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>