summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--devel/p5-ExtUtils-ParseXS/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/devel/p5-ExtUtils-ParseXS/Makefile b/devel/p5-ExtUtils-ParseXS/Makefile
index 9b08a33af13f..9c4bc19fea23 100644
--- a/devel/p5-ExtUtils-ParseXS/Makefile
+++ b/devel/p5-ExtUtils-ParseXS/Makefile
@@ -21,4 +21,10 @@ MAN3= ExtUtils::ParseXS.3
pre-patch:
@${PERL} -pi -e 's/INSTALLDIRS/bebe/' ${WRKSRC}/Makefile.PL
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} <= 500600
+IGNORE= Needs perl 5.6 or higher because of "/??{}/" in regexes
+.endif
+
+.include <bsd.port.post.mk>