Date: Fri, 6 Jun 2025 05:09:38 GMT From: Hiroki Tagato <tagattie@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: c40454df954e - main - x11/contour: use CMAKE_TESTING_ON to build unit tests instead of CMAKE_ON Message-ID: <202506060509.55659cml091425@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by tagattie: URL: https://cgit.FreeBSD.org/ports/commit/?id=c40454df954eeac9a141b96ef699e7a78d2ab635 commit c40454df954eeac9a141b96ef699e7a78d2ab635 Author: Hiroki Tagato <tagattie@FreeBSD.org> AuthorDate: 2025-06-06 05:07:55 +0000 Commit: Hiroki Tagato <tagattie@FreeBSD.org> CommitDate: 2025-06-06 05:09:22 +0000 x11/contour: use CMAKE_TESTING_ON to build unit tests instead of CMAKE_ON Don't force everyone to build unit tests. Move devel/catch2 to test dependency as it is only needed for testing only not build. Reported by: diizzy (via ports-committers) --- x11/contour/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/x11/contour/Makefile b/x11/contour/Makefile index b4be1bc56c65..760a5e1e82d7 100644 --- a/x11/contour/Makefile +++ b/x11/contour/Makefile @@ -11,7 +11,6 @@ LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE.txt BUILD_DEPENDS= ${LOCALBASE}/lib/cmake/boxed-cpp/boxed-cpp-config.cmake:devel/boxed-cpp \ - ${LOCALBASE}/lib/cmake/Catch2/Catch2Config.cmake:devel/catch2 \ ${LOCALBASE}/lib/cmake/reflection-cpp/reflection-cpp-config.cmake:devel/reflection-cpp \ ${LOCALBASE}/share/cmake/Microsoft.GSL/Microsoft.GSLConfig.cmake:devel/microsoft-gsl \ ${LOCALBASE}/lib/cmake/range-v3/range-v3-config.cmake:devel/range-v3 @@ -21,6 +20,7 @@ LIB_DEPENDS= libunicode.so:devel/libunicode-contour \ libharfbuzz.so:print/harfbuzz \ libssh2.so:security/libssh2 \ libfontconfig.so:x11-fonts/fontconfig +TEST_DEPENDS= ${LOCALBASE}/lib/cmake/Catch2/Catch2Config.cmake:devel/catch2 USES= cmake:testing desktop-file-utils gl pkgconfig qt:6 xorg @@ -31,8 +31,8 @@ USE_XORG= xcb USE_GL= gl opengl USE_QT= 5compat base declarative multimedia tools:build -CMAKE_ON= CONTOUR_TESTING \ - CONTOUR_INSTALL_TOOLS +CMAKE_ON= CONTOUR_INSTALL_TOOLS +CMAKE_TESTING_ON= CONTOUR_TESTING PORTDOCS= README.md SECURITY.md TODO.mdhome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202506060509.55659cml091425>
