Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Feb 2018 10:29:05 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r462288 - head/devel/gflags
Message-ID:  <201802191029.w1JAT5Es085492@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Mon Feb 19 10:29:04 2018
New Revision: 462288
URL: https://svnweb.freebsd.org/changeset/ports/462288

Log:
  Use CMAKE_ON and CMAKE_OFF

Modified:
  head/devel/gflags/Makefile

Modified: head/devel/gflags/Makefile
==============================================================================
--- head/devel/gflags/Makefile	Mon Feb 19 10:03:54 2018	(r462287)
+++ head/devel/gflags/Makefile	Mon Feb 19 10:29:04 2018	(r462288)
@@ -12,14 +12,10 @@ COMMENT=	Commandline flags module for C++
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/COPYING.txt
 
-CMAKE_ARGS=	-DBUILD_SHARED_LIBS=ON \
-		-DBUILD_STATIC_LIBS=ON \
-		-DBUILD_TESTING=ON \
-		-DGFLAGS_NAMESPACE:STRING=gflags \
-		-DINSTALL_HEADERS=ON \
-		-DINSTALL_SHARED_LIBS=ON \
-		-DINSTALL_STATIC_LIBS=ON \
-		-DREGISTER_INSTALL_PREFIX=OFF
+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
 USE_LDCONFIG=	yes
 USES=		cmake pathfix shebangfix



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