Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Oct 2024 21:12:56 GMT
From:      Daniel Engberg <diizzy@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: ddbaebe2a89c - main - devel/json-c: Don't build unit tests unless requested
Message-ID:  <202410262112.49QLCuKV085078@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by diizzy:

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

commit ddbaebe2a89c1768a0ea27929971912d0b9ddd1b
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2024-10-26 21:11:12 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2024-10-26 21:11:15 +0000

    devel/json-c: Don't build unit tests unless requested
    
    Add BUILD_TESTING to CMAKE_OFF to avoid always building unit tests
    
    Approved by:    portmgr (blanket, build fix)
---
 devel/json-c/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/devel/json-c/Makefile b/devel/json-c/Makefile
index 50e1217fa9d0..39ef11668cf5 100644
--- a/devel/json-c/Makefile
+++ b/devel/json-c/Makefile
@@ -13,7 +13,8 @@ LICENSE_FILE=	${WRKSRC}/COPYING
 
 USES=		cmake:testing compiler:c11 cpe pathfix
 
-CMAKE_OFF=	DISABLE_BSYMBOLIC \
+CMAKE_OFF=	BUILD_TESTING \
+		DISABLE_BSYMBOLIC \
 		DISABLE_JSON_PATCH \
 		DISABLE_JSON_POINTER \
 		DISABLE_STATIC_FPIC \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202410262112.49QLCuKV085078>