summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--devel/p5-UNIVERSAL-which/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/devel/p5-UNIVERSAL-which/Makefile b/devel/p5-UNIVERSAL-which/Makefile
index d73f30c7db93..694eed785c91 100644
--- a/devel/p5-UNIVERSAL-which/Makefile
+++ b/devel/p5-UNIVERSAL-which/Makefile
@@ -18,4 +18,10 @@ COMMENT= Perl extension for telling fully qualified name of the method
PERL_CONFIGURE= yes
MAN3= UNIVERSAL::which.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500801
+IGNORE= requires Perl 5.8.1 or newer. Install lang/perl5.8 and try again
+.endif
+
+.include <bsd.port.post.mk>