aboutsummaryrefslogtreecommitdiff
path: root/databases/p5-MongoDB/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'databases/p5-MongoDB/Makefile')
-rw-r--r--databases/p5-MongoDB/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/databases/p5-MongoDB/Makefile b/databases/p5-MongoDB/Makefile
index 59eeae4d099d..f082778c5e71 100644
--- a/databases/p5-MongoDB/Makefile
+++ b/databases/p5-MongoDB/Makefile
@@ -53,4 +53,10 @@ MAN3= MongoDB.3 \
MongoDB::Timestamp.3 \
MongoDB::Tutorial.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500809
+TEST_DEPENDS+= p5-File-Temp>=0.17:${PORTSDIR}/devel/p5-File-Temp
+.endif
+
+.include <bsd.port.post.mk>