aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-03-09 13:44:48 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-03-09 14:05:19 +0000
commit7844262674a4293c17890a1dd174326e69ff5e72 (patch)
treee0fbad957f86ee69b3f31d50f347d09c29a01fab
parentc3b865e6f1edd0be631ea51926d82ee96e18add5 (diff)
downloadports-7844262674a4293c17890a1dd174326e69ff5e72.tar.gz
ports-7844262674a4293c17890a1dd174326e69ff5e72.zip
devel/gflags: Convert to USES=cmake:testing
- Cosmetic change
-rw-r--r--devel/gflags/Makefile11
1 files 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