diff options
-rw-r--r-- | dns/p5-DNS-Config/Makefile | 9 | ||||
-rw-r--r-- | net/p5-DNS-Config/Makefile | 9 |
2 files changed, 16 insertions, 2 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> diff --git a/net/p5-DNS-Config/Makefile b/net/p5-DNS-Config/Makefile index 5c90f44c1344..37aaa318a0cb 100644 --- a/net/p5-DNS-Config/Makefile +++ b/net/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> |