summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2020-05-12 17:36:20 +0000
committerrillig <rillig@pkgsrc.org>2020-05-12 17:36:20 +0000
commit0b560a763e3c558f4155004a58861600fc96ebba (patch)
tree00ad0bc6b3e09772d4bf9286a3b69eb7e39bbbb2 /mk
parentb4fc5f7ccba1f6275d013a9711ed5baef91d4366 (diff)
downloadpkgsrc-0b560a763e3c558f4155004a58861600fc96ebba.tar.gz
mk/configure/cmake.mk: allow no-op SUBST block
For example, graphics/openjpeg on SunOS doesn't need it.
Diffstat (limited to 'mk')
-rw-r--r--mk/configure/cmake.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/mk/configure/cmake.mk b/mk/configure/cmake.mk
index 9bc7bc062d9..09c65dd766f 100644
--- a/mk/configure/cmake.mk
+++ b/mk/configure/cmake.mk
@@ -1,4 +1,4 @@
-# $NetBSD: cmake.mk,v 1.17 2019/09/02 02:23:03 rillig Exp $
+# $NetBSD: cmake.mk,v 1.18 2020/05/12 17:36:20 rillig Exp $
#
# This file handles packages that use CMake as their primary build
# system. For more information about CMake, see http://www.cmake.org/.
@@ -84,6 +84,7 @@ SUBST_MESSAGE.cmake= Fixing CMAKE_MODULE_PATH in CMakeLists.txt
SUBST_FILES.cmake= ${CMAKE_MODULE_PATH_OVERRIDE}
SUBST_SED.cmake= \
's|set *( *CMAKE_MODULE_PATH |set (CMAKE_MODULE_PATH "${_CMAKE_DIR}" |'
+SUBST_NOOP_OK.cmake= yes # not all packages need this
do-configure-pre-hook: __cmake-copy-module-tree
__cmake-copy-module-tree: .PHONY