pkgsrc-Changes archive

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

CVS commit: pkgsrc/mk/configure



Module Name:    pkgsrc
Committed By:   ryoon
Date:           Sat Jun 13 15:11:11 UTC 2020

Modified Files:
        pkgsrc/mk/configure: cmake.mk

Log Message:
mk/configure: Replace SET(CMAKE_MODULE_PATH... like 'set' too.

This will break print/scribus-qt4.
It uses CMAKE_MODULE_PATH as not a directory list.
It is wrong assumption.


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 pkgsrc/mk/configure/cmake.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/mk/configure/cmake.mk
diff -u pkgsrc/mk/configure/cmake.mk:1.18 pkgsrc/mk/configure/cmake.mk:1.19
--- pkgsrc/mk/configure/cmake.mk:1.18   Tue May 12 17:36:20 2020
+++ pkgsrc/mk/configure/cmake.mk        Sat Jun 13 15:11:11 2020
@@ -1,4 +1,4 @@
-# $NetBSD: cmake.mk,v 1.18 2020/05/12 17:36:20 rillig Exp $
+# $NetBSD: cmake.mk,v 1.19 2020/06/13 15:11:11 ryoon Exp $
 #
 # This file handles packages that use CMake as their primary build
 # system. For more information about CMake, see http://www.cmake.org/.
@@ -83,7 +83,9 @@ SUBST_STAGE.cmake=    do-configure-pre-hook
 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}" |'
+       -e 's|set *( *CMAKE_MODULE_PATH |set (CMAKE_MODULE_PATH "${_CMAKE_DIR}" |'
+SUBST_SED.cmake+=      \
+       -e '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



Home | Main Index | Thread Index | Old Index