aboutsummaryrefslogtreecommitdiffstats
path: root/lang/p5-Parse-Perl
diff options
context:
space:
mode:
Diffstat (limited to 'lang/p5-Parse-Perl')
-rw-r--r--lang/p5-Parse-Perl/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/lang/p5-Parse-Perl/Makefile b/lang/p5-Parse-Perl/Makefile
index 3a398eb2b6d1..a0585e04a330 100644
--- a/lang/p5-Parse-Perl/Makefile
+++ b/lang/p5-Parse-Perl/Makefile
@@ -20,4 +20,10 @@ TEST_DEPENDS= p5-Devel-Declare>=0:${PORTSDIR}/devel/p5-Devel-Declare \
USES= perl5
USE_PERL5= modbuild
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} >= 502200
+BROKEN= Fails to build with Perl >= 5.22
+.endif
+
+.include <bsd.port.post.mk>