git: 7844262674a4 - main - devel/gflags: Convert to USES=cmake:testing
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 09 Mar 2024 14:09:59 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=7844262674a4293c17890a1dd174326e69ff5e72
commit 7844262674a4293c17890a1dd174326e69ff5e72
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-03-09 13:44:48 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-03-09 14:05:19 +0000
devel/gflags: Convert to USES=cmake:testing
- Cosmetic change
---
devel/gflags/Makefile | 11 +++++------
1 file changed, 5 insertions(+), 6 deletions(-)
diff --git a/devel/gflags/Makefile b/devel/gflags/Makefile
index bf071bd9985f..d210c39ccd3c 100644
--- a/devel/gflags/Makefile
+++ b/devel/gflags/Makefile
@@ -1,7 +1,7 @@
PORTNAME= gflags
PORTVERSION= 2.2.2
-PORTREVISION= 2
DISTVERSIONPREFIX= v
+PORTREVISION= 2
CATEGORIES= devel
MAINTAINER= sunpoet@FreeBSD.org
@@ -11,13 +11,12 @@ WWW= https://github.com/gflags/gflags
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/COPYING.txt
-USES= cmake compiler:c++11-lang pathfix shebangfix
+USES= cmake:testing compiler:c++11-lang pathfix shebangfix
CMAKE_ARGS= -DGFLAGS_NAMESPACE:STRING=gflags
-CMAKE_OFF= REGISTER_INSTALL_PREFIX
-CMAKE_ON= BUILD_SHARED_LIBS BUILD_STATIC_LIBS BUILD_TESTING \
- INSTALL_HEADERS INSTALL_SHARED_LIBS INSTALL_STATIC_LIBS
-TEST_TARGET= test
+CMAKE_OFF= BUILD_TESTING REGISTER_INSTALL_PREFIX
+CMAKE_ON= BUILD_SHARED_LIBS BUILD_STATIC_LIBS INSTALL_HEADERS INSTALL_SHARED_LIBS INSTALL_STATIC_LIBS
+CMAKE_TESTING_ON= BUILD_TESTING
USE_CXXSTD= c++11
USE_LDCONFIG= yes