Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F108120542
D12957.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D12957.diff
View Options
Index: head/databases/soci/Makefile
===================================================================
--- head/databases/soci/Makefile
+++ head/databases/soci/Makefile
@@ -8,7 +8,7 @@
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_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>
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Jan 22, 2:43 PM (13 h, 25 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16031092
Default Alt Text
D12957.diff (1 KB)
Attached To
Mode
D12957: Switch to <opt>_CMAKE_BOOL
Attached
Detach File
Event Timeline
Log In to Comment