summaryrefslogtreecommitdiff
path: root/Mk/Uses/cmake.mk
diff options
context:
space:
mode:
Diffstat (limited to 'Mk/Uses/cmake.mk')
-rw-r--r--Mk/Uses/cmake.mk8
1 files changed, 4 insertions, 4 deletions
diff --git a/Mk/Uses/cmake.mk b/Mk/Uses/cmake.mk
index 057149865f17..82134451317d 100644
--- a/Mk/Uses/cmake.mk
+++ b/Mk/Uses/cmake.mk
@@ -4,9 +4,9 @@
#
# Feature: cmake
# Usage: USES=cmake or USES=cmake:ARGS
-# Valid ARGS: outsource, run, noninja
+# Valid ARGS: insource, run, noninja
# ARGS description:
-# outsource perform an out-of-source build
+# insource do not perform an out-of-source build
# noninja don't use ninja instead of make
# Setting this should be an exception, and hints to an issue
# inside the ports build system.
@@ -46,7 +46,7 @@
.if !defined(_INCLUDE_USES_CMAKE_MK)
_INCLUDE_USES_CMAKE_MK= yes
-_valid_ARGS= outsource run noninja
+_valid_ARGS= insource run noninja
# Sanity check
.for arg in ${cmake_ARGS}
@@ -111,7 +111,7 @@ CMAKE_ARGS+= -DCMAKE_COLOR_MAKEFILE:BOOL=OFF
_CMAKE_MSG= "===> Performing in-source build"
CMAKE_SOURCE_PATH?= ${WRKSRC}
-.if ${cmake_ARGS:Moutsource}
+.if empty(cmake_ARGS:Minsource)
_CMAKE_MSG= "===> Performing out-of-source build"
CONFIGURE_WRKSRC= ${WRKDIR}/.build
BUILD_WRKSRC?= ${CONFIGURE_WRKSRC}