aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--devel/p5-rpm-build-perl/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/devel/p5-rpm-build-perl/Makefile b/devel/p5-rpm-build-perl/Makefile
index c90c44fa7bd5..34029e301625 100644
--- a/devel/p5-rpm-build-perl/Makefile
+++ b/devel/p5-rpm-build-perl/Makefile
@@ -20,4 +20,10 @@ PERL_CONFIGURE= yes
MAN1= perl.prov.1 perl.req.1
MAN3= B::PerlReq.3 PerlReq::Utils.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500600
+IGNORE= requires Perl 5.6 or newer
+.endif
+
+.include <bsd.port.post.mk>