aboutsummaryrefslogtreecommitdiff
path: root/databases/mongodb/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'databases/mongodb/Makefile')
-rw-r--r--databases/mongodb/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/databases/mongodb/Makefile b/databases/mongodb/Makefile
index 5f63d34ca750..f01e006136b7 100644
--- a/databases/mongodb/Makefile
+++ b/databases/mongodb/Makefile
@@ -55,7 +55,8 @@ LIB_DEPENDS+= libsasl2.so:${PORTSDIR}/security/cyrus-sasl2
.endif
.if ${PORT_OPTIONS:MTEST}
-BUILD_DEPENDS= pymongo>=2.5:${PORTSDIR}/databases/pymongo
+USES+= python:build
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pymongo>=2.5:${PORTSDIR}/databases/pymongo
TEST_TARGET= smokeAll smokeCppUnittests
. if ${PORT_OPTIONS:MSSL}
TEST_TARGET+= smokeSsl