aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Mk/Uses/cmake.mk1
-rw-r--r--Mk/Uses/qmake.mk1
-rw-r--r--devel/caf/Makefile1
-rw-r--r--devel/yajl/Makefile1
-rw-r--r--math/ceres-solver/Makefile2
-rw-r--r--textproc/cmark/Makefile1
6 files changed, 2 insertions, 5 deletions
diff --git a/Mk/Uses/cmake.mk b/Mk/Uses/cmake.mk
index de1c81a94499..e880100d9d08 100644
--- a/Mk/Uses/cmake.mk
+++ b/Mk/Uses/cmake.mk
@@ -103,6 +103,7 @@ _CMAKE_MSG= "===> Performing out-of-source build"
CONFIGURE_WRKSRC= ${WRKDIR}/.build
BUILD_WRKSRC?= ${CONFIGURE_WRKSRC}
INSTALL_WRKSRC?= ${CONFIGURE_WRKSRC}
+TEST_WRKSRC?= ${CONFIGURE_WRKSRC}
.endif
.if !target(do-configure)
diff --git a/Mk/Uses/qmake.mk b/Mk/Uses/qmake.mk
index a083f24b4d59..eddb1695ba27 100644
--- a/Mk/Uses/qmake.mk
+++ b/Mk/Uses/qmake.mk
@@ -90,6 +90,7 @@ _QMAKE_WRKSRC?= ${CONFIGURE_WRKSRC}
CONFIGURE_WRKSRC= ${WRKDIR}/.build
BUILD_WRKSRC= ${CONFIGURE_WRKSRC}
INSTALL_WRKSRC= ${BUILD_WRKSRC}
+TEST_WRKSRC= ${BUILD_WRKSRC}
QMAKE_SOURCE_PATH?= ${WRKSRC}
.else
QMAKE_SOURCE_PATH?= # empty
diff --git a/devel/caf/Makefile b/devel/caf/Makefile
index e392edc6b074..67e023889279 100644
--- a/devel/caf/Makefile
+++ b/devel/caf/Makefile
@@ -18,7 +18,6 @@ LDFLAGS+= -pthread
USES= cmake:outsource compiler:c++11-lang
USE_LDCONFIG= yes
TEST_TARGET= test
-TEST_WRKSRC= ${BUILD_WRKSRC}
USE_GITHUB= yes
GH_ACCOUNT= actor-framework
GH_PROJECT= ${GH_ACCOUNT}
diff --git a/devel/yajl/Makefile b/devel/yajl/Makefile
index 11469bcac603..58eaa26d767d 100644
--- a/devel/yajl/Makefile
+++ b/devel/yajl/Makefile
@@ -20,7 +20,6 @@ USES= cmake:outsource
PLIST_SUB= VERSION=${PORTVERSION}
TEST_TARGET= test test-api
-TEST_WRKSRC= ${BUILD_WRKSRC}
post-patch:
@${REINPLACE_CMD} -e "s,share/pkgconfig,libdata/pkgconfig,g" \
diff --git a/math/ceres-solver/Makefile b/math/ceres-solver/Makefile
index 8bf7b06ef593..b6ae1cf7e40f 100644
--- a/math/ceres-solver/Makefile
+++ b/math/ceres-solver/Makefile
@@ -60,8 +60,6 @@ SCHUR_CMAKE_BOOL= SCHUR_SPECIALIZATIONS
TEST_CMAKE_BOOL= BUILD_TESTING
TEST_TEST_TARGET= test ARGS="-V"
TEST_IMPLIES= GFLAGS
-# XXX Move to USES=cmake
-TEST_VARS= TEST_WRKSRC="${CONFIGURE_WRKSRC}"
LAPACK_DESC= Linear Algebra PACKage
LAPACK_USES= fortran # LDFLAGS
diff --git a/textproc/cmark/Makefile b/textproc/cmark/Makefile
index b634672416f5..d01f8a487e47 100644
--- a/textproc/cmark/Makefile
+++ b/textproc/cmark/Makefile
@@ -18,7 +18,6 @@ USES= cmake:outsource python:3,test
USE_LDCONFIG= yes
TEST_TARGET= test
-TEST_WRKSRC= ${BUILD_WRKSRC}
CMAKE_ARGS= -DCMAKE_INSTALL_MANDIR=${MANPREFIX}/man