aboutsummaryrefslogtreecommitdiff
path: root/Mk/Uses/cmake.mk
diff options
context:
space:
mode:
Diffstat (limited to 'Mk/Uses/cmake.mk')
-rw-r--r--Mk/Uses/cmake.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/Mk/Uses/cmake.mk b/Mk/Uses/cmake.mk
index e92fbba451a0..666481cc6623 100644
--- a/Mk/Uses/cmake.mk
+++ b/Mk/Uses/cmake.mk
@@ -48,10 +48,10 @@ IGNORE= Incorrect 'USES+= cmake:${cmake_ARGS}' usage: argument [${arg}] is not r
.endfor
CMAKE_BIN= ${LOCALBASE}/bin/cmake
-BUILD_DEPENDS+= ${CMAKE_BIN}:devel/cmake
+BUILD_DEPENDS+= ${CMAKE_BIN}:${PORTSDIR}/devel/cmake
.if ${cmake_ARGS:Mrun}
-RUN_DEPENDS+= ${CMAKE_BIN}:devel/cmake
+RUN_DEPENDS+= ${CMAKE_BIN}:${PORTSDIR}/devel/cmake
.endif
.if defined(WITH_DEBUG)