aboutsummaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2015-04-07 19:38:48 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2015-04-07 19:38:48 +0000
commitfc3d807909a7589ae352c434f14fb91ee3785306 (patch)
tree69ae34ce504731773685d6c1b3293c48064bc4eb /databases
parent8424eee299ba7260ff448c1933e8989e3f69a9ab (diff)
downloadports-fc3d807909a7589ae352c434f14fb91ee3785306.tar.gz
ports-fc3d807909a7589ae352c434f14fb91ee3785306.zip
Fix DEPENDS
Notes
Notes: svn path=/head/; revision=383535
Diffstat (limited to 'databases')
-rw-r--r--databases/mongodb/Makefile3
-rw-r--r--databases/nagios-check_mongodb/Makefile2
2 files changed, 3 insertions, 2 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
diff --git a/databases/nagios-check_mongodb/Makefile b/databases/nagios-check_mongodb/Makefile
index 167c0c462f35..02e2872e134b 100644
--- a/databases/nagios-check_mongodb/Makefile
+++ b/databases/nagios-check_mongodb/Makefile
@@ -9,7 +9,7 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}nagios-
MAINTAINER= demon@FreeBSD.org
COMMENT= Nagios plugin to check mongodb server
-RUN_DEPENDS= pymongo>=0:${PORTSDIR}/databases/pymongo
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pymongo>=0:${PORTSDIR}/databases/pymongo
USE_GITHUB= yes
GH_ACCOUNT= mzupan