git: 7f7deb8d9f74 - main - devel/boxed-cpp: use CMAKE_TESTING_ON to build unit tests instead of CMAKE_ON

From: Hiroki Tagato <tagattie_at_FreeBSD.org>
Date: Fri, 06 Jun 2025 05:09:35 UTC
The branch main has been updated by tagattie:

URL: https://cgit.FreeBSD.org/ports/commit/?id=7f7deb8d9f74f005223cf07e6c84299641d9c5ae

commit 7f7deb8d9f74f005223cf07e6c84299641d9c5ae
Author:     Hiroki Tagato <tagattie@FreeBSD.org>
AuthorDate: 2025-06-06 04:54:38 +0000
Commit:     Hiroki Tagato <tagattie@FreeBSD.org>
CommitDate: 2025-06-06 05:09:21 +0000

    devel/boxed-cpp: 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)
---
 devel/boxed-cpp/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/devel/boxed-cpp/Makefile b/devel/boxed-cpp/Makefile
index 23fb028a49dc..8323d649a60c 100644
--- a/devel/boxed-cpp/Makefile
+++ b/devel/boxed-cpp/Makefile
@@ -10,14 +10,14 @@ WWW=		https://github.com/contour-terminal/boxed-cpp
 LICENSE=	APACHE20
 LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
-BUILD_DEPENDS=	${LOCALBASE}/lib/cmake/Catch2/Catch2Config.cmake:devel/catch2
+TEST_DEPENDS=	${LOCALBASE}/lib/cmake/Catch2/Catch2Config.cmake:devel/catch2
 
 USES=		cmake:testing
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	contour-terminal
 
-CMAKE_ON=	BOXED_TESTING
+CMAKE_TESTING_ON=	BOXED_TESTING
 
 PORTDOCS=	README.md