pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/cmake



Module Name:    pkgsrc
Committed By:   wiz
Date:           Tue Aug  9 21:45:08 UTC 2022

Modified Files:
        pkgsrc/devel/cmake: build.mk

Log Message:
ke/build.mk: use ${TEST_TARGET} and ${INSTALL_TARGET}

Noted by adam@


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/cmake/build.mk

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

Modified files:

Index: pkgsrc/devel/cmake/build.mk
diff -u pkgsrc/devel/cmake/build.mk:1.1 pkgsrc/devel/cmake/build.mk:1.2
--- pkgsrc/devel/cmake/build.mk:1.1     Tue Aug  9 16:08:43 2022
+++ pkgsrc/devel/cmake/build.mk Tue Aug  9 21:45:08 2022
@@ -1,4 +1,4 @@
-# $NetBSD: build.mk,v 1.1 2022/08/09 16:08:43 wiz Exp $
+# $NetBSD: build.mk,v 1.2 2022/08/09 21:45:08 wiz Exp $
 #
 # This Makefile fragment supports building using the CMake build tool.
 #
@@ -90,7 +90,7 @@ cmake-test:
 .for d in ${TEST_DIRS}
        ${RUN} cd ${WRKSRC}/${d}/${CMAKE_BUILD_DIR} && \
                ${SETENV} ${TEST_ENV} \
-               ${_CMAKE_BUILD_TOOL} ${CMAKE_BUILD_ARGS} test
+               ${_CMAKE_BUILD_TOOL} ${CMAKE_BUILD_ARGS} ${TEST_TARGET}
 .endfor
 
 do-install: cmake-install
@@ -98,5 +98,5 @@ cmake-install:
 .for d in ${INSTALL_DIRS}
        ${RUN} cd ${WRKSRC}/${d}/${CMAKE_BUILD_DIR} && \
                ${SETENV} ${INSTALL_ENV} \
-               ${_CMAKE_BUILD_TOOL} ${CMAKE_INSTALL_ARGS} install
+               ${_CMAKE_BUILD_TOOL} ${CMAKE_INSTALL_ARGS} ${INSTALL_TARGET}
 .endfor



Home | Main Index | Thread Index | Old Index