Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Jan 2018 12:46:36 +0000 (UTC)
From:      Adriaan de Groot <adridg@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r458025 - head/databases/soci
Message-ID:  <201801041246.w04CkaZi062931@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: adridg
Date: Thu Jan  4 12:46:36 2018
New Revision: 458025
URL: https://svnweb.freebsd.org/changeset/ports/458025

Log:
  Switch databases/soci to <opt>_CMAKE_BOOL.
  
  This simplifies the Makefile somewhat -- it is only a cosmetic change.
  While here, massage COMMENT to satisfy portlint.
  
  PR:		224422
  Reviewed by:	jlaffaye (maintainer)
  Approved by:	rakuco (mentor)
  Differential Revision:	https://reviews.freebsd.org/D12957

Modified:
  head/databases/soci/Makefile

Modified: head/databases/soci/Makefile
==============================================================================
--- head/databases/soci/Makefile	Thu Jan  4 11:54:56 2018	(r458024)
+++ head/databases/soci/Makefile	Thu Jan  4 12:46:36 2018	(r458025)
@@ -8,7 +8,7 @@ CATEGORIES=	databases
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
 
 MAINTAINER=	jlaffaye@FreeBSD.org
-COMMENT=	The C++ Database Access Library
+COMMENT=	C++ Database Access Library
 
 LICENSE=	BSL
 LICENSE_FILE=	${WRKSRC}/LICENSE_1_0.txt
@@ -39,28 +39,22 @@ OPTIONS_EXCLUDE_powerpc64=	FIREBIRD
 OPTIONS_EXCLUDE_sparc64=	FIREBIRD
 
 MYSQL_USE=	MYSQL=yes
-MYSQL_CMAKE_ON=	-DWITH_MYSQL:BOOL=ON
-MYSQL_CMAKE_OFF=	-DWITH_MYSQL:BOOL=OFF
+MYSQL_CMAKE_BOOL=	WITH_MYSQL
 
 PGSQL_USES=	pgsql
-PGSQL_CMAKE_ON=	-DWITH_POSTGRESQL:BOOL=ON
-PGSQL_CMAKE_OFF=	-DWITH_POSTGRESQL:BOOL=OFF
+PGSQL_CMAKE_BOOL=	WITH_POSTGRESQL
 
 SQLITE_USES=	sqlite
-SQLITE_CMAKE_ON=	-DWITH_SQLITE3:BOOL=ON
-SQLITE_CMAKE_OFF=	-DWITH_SQLITE3:BOOL=OFF
+SQLITE_CMAKE_BOOL=	WITH_SQLITE3
 
 ODBC_LIB_DEPENDS=	libodbc.so:databases/unixODBC
-ODBC_CMAKE_ON=	-DODBC_LIBRARY:FILE_PATH=${LOCALBASE}/lib/libodbc.so \
-		-DWITH_ODBC:BOOL=ON
-ODBC_CMAKE_OFF=	-DWITH_ODBC:BOOL=OFF
+ODBC_CMAKE_BOOL=	WITH_ODBC
+ODBC_CMAKE_ON=		-DODBC_LIBRARY:FILE_PATH=${LOCALBASE}/lib/libodbc.so
 
 BOOST_LIB_DEPENDS=	libboost_date_time.so:devel/boost-libs
-BOOST_CMAKE_ON=	-DWITH_BOOST:BOOL=ON
-BOOST_CMAKE_OFF=	-DWITH_BOOST:BOOL=OFF
+BOOST_CMAKE_BOOL=	WITH_BOOST
 
 FIREBIRD_USES=	firebird
-FIREBIRD_CMAKE_ON=	-DWITH_FIREBIRD:BOOL=ON
-FIREBIRD_CMAKE_OFF=	-DWITH_FIREBIRD:BOOL=OFF
+FIREBIRD_CMAKE_BOOL=	WITH_FIREBIRD
 
 .include <bsd.port.mk>



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