aboutsummaryrefslogtreecommitdiff
path: root/dns
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2003-05-08 23:29:19 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2003-05-08 23:29:19 +0000
commitd97ddfd550d3ebc6db23efe8808305fcc434a9ff (patch)
tree742a52db763c571db60da8d08d4dfa34d5ebba56 /dns
parentbb22599d96bab0543a1e967be4e8828671005852 (diff)
downloadports-d97ddfd550d3ebc6db23efe8808305fcc434a9ff.tar.gz
ports-d97ddfd550d3ebc6db23efe8808305fcc434a9ff.zip
Only for Perl 5.6 and higher
Noticed by: bento
Notes
Notes: svn path=/head/; revision=80478
Diffstat (limited to 'dns')
-rw-r--r--dns/p5-DNS-Config/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/dns/p5-DNS-Config/Makefile b/dns/p5-DNS-Config/Makefile
index 5c90f44c1344..37aaa318a0cb 100644
--- a/dns/p5-DNS-Config/Makefile
+++ b/dns/p5-DNS-Config/Makefile
@@ -27,4 +27,11 @@ 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>