aboutsummaryrefslogtreecommitdiffstats
path: root/dns/p5-DNS-Config
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2003-05-09 07:29:19 +0800
committeredwin <edwin@FreeBSD.org>2003-05-09 07:29:19 +0800
commit56c5e4dff48e191996d699cde4762ac951aa3983 (patch)
treebbe34ae933ae9e03b42c0d193fecf74630ac85d9 /dns/p5-DNS-Config
parent7087f9810f73571f339b0e4a800e326e0162d7d5 (diff)
downloadfreebsd-ports-gnome-56c5e4dff48e191996d699cde4762ac951aa3983.tar.gz
freebsd-ports-gnome-56c5e4dff48e191996d699cde4762ac951aa3983.tar.zst
freebsd-ports-gnome-56c5e4dff48e191996d699cde4762ac951aa3983.zip
Only for Perl 5.6 and higher
Noticed by: bento
Diffstat (limited to 'dns/p5-DNS-Config')
-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>