Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk/configure mk/configure/cmake.mk: allow no-op SUBST ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/583540b6437a
branches:  trunk
changeset: 431383:583540b6437a
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Tue May 12 17:36:20 2020 +0000

description:
mk/configure/cmake.mk: allow no-op SUBST block

For example, graphics/openjpeg on SunOS doesn't need it.

diffstat:

 mk/configure/cmake.mk |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 4fc438fbed09 -r 583540b6437a mk/configure/cmake.mk
--- a/mk/configure/cmake.mk     Tue May 12 17:10:32 2020 +0000
+++ b/mk/configure/cmake.mk     Tue May 12 17:36:20 2020 +0000
@@ -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_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



Home | Main Index | Thread Index | Old Index