summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--devel/p5-Algorithm-MarkovChain/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/devel/p5-Algorithm-MarkovChain/Makefile b/devel/p5-Algorithm-MarkovChain/Makefile
index 9a698b7ec8d8..a1e5de827ff9 100644
--- a/devel/p5-Algorithm-MarkovChain/Makefile
+++ b/devel/p5-Algorithm-MarkovChain/Makefile
@@ -21,7 +21,12 @@ RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_CONFIGURE= yes
-MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
MAN3= Algorithm::MarkovChain.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500601
+IGNORE= "needs at least perl 5.6.1 to build"
+.endif
+
+.include <bsd.port.post.mk>