diff options
author | Thomas Zander <riggs@FreeBSD.org> | 2016-07-17 11:28:46 +0000 |
---|---|---|
committer | Thomas Zander <riggs@FreeBSD.org> | 2016-07-17 11:28:46 +0000 |
commit | e3fb988596e6d92c06065fa65b72b08163014e40 (patch) | |
tree | 5d104f3389b3945321179d66ddbf20b4d0eaf058 | |
parent | d9b7dcd2ef368105a91f64a7a15a57f6496fdff3 (diff) | |
download | ports-e3fb988596e6d92c06065fa65b72b08163014e40.tar.gz ports-e3fb988596e6d92c06065fa65b72b08163014e40.zip |
Notes
-rw-r--r-- | databases/cppdb/Makefile | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/databases/cppdb/Makefile b/databases/cppdb/Makefile index 5007b34232ba..e94e27c3bc20 100644 --- a/databases/cppdb/Makefile +++ b/databases/cppdb/Makefile @@ -49,15 +49,16 @@ USES= cmake:outsource ninja tar:bzip2 CMAKE_ARGS+= -DDISABLE_MYSQL:BOOL=ON PLIST_SUB+= MYSQL="@comment " .else -USE_MYSQL= yes +USES+= mysql CMAKE_ARGS+= -DDISABLE_MYSQL:BOOL=OFF .if ${PORT_OPTIONS:MMYSQL_INTERNAL} CMAKE_ARGS+= -DMYSQL_BACKEND_INTERNAL:BOOL=ON +PLIST_SUB+= MYSQL="@comment " .elif ${PORT_OPTIONS:MMYSQL_MODULE} CMAKE_ARGS+= -DMYSQL_BACKEND_INTERNAL:BOOL=OFF -.endif PLIST_SUB+= MYSQL="" .endif +.endif .if ${PORT_OPTIONS:MODBC_DISABLE} CMAKE_ARGS+= -DDISABLE_ODBC:BOOL=ON @@ -67,11 +68,12 @@ LIB_DEPENDS+= libodbc.so:databases/unixODBC CMAKE_ARGS+= -DDISABLE_ODBC:BOOL=OFF .if ${PORT_OPTIONS:MODBC_INTERNAL} CMAKE_ARGS+= -DODBC_BACKEND_INTERNAL:BOOL=ON +PLIST_SUB+= ODBC="@comment " .elif ${PORT_OPTIONS:MODBC_MODULE} CMAKE_ARGS+= -DODBC_BACKEND_INTERNAL:BOOL=OFF -.endif PLIST_SUB+= ODBC="" .endif +.endif .if ${PORT_OPTIONS:MPGSQL_DISABLE} CMAKE_ARGS+= -DDISABLE_PQ:BOOL=ON @@ -81,11 +83,12 @@ USES+= pgsql CMAKE_ARGS+= -DDISABLE_PQ:BOOL=OFF .if ${PORT_OPTIONS:MPGSQL_INTERNAL} CMAKE_ARGS+= -DPQ_BACKEND_INTERNAL:BOOL=ON +PLIST_SUB+= PGSQL="@comment " .elif ${PORT_OPTIONS:MPGSQL_MODULE} CMAKE_ARGS+= -DPQ_BACKEND_INTERNAL:BOOL=OFF -.endif PLIST_SUB+= PGSQL="" .endif +.endif .if ${PORT_OPTIONS:MSQLITE3_DISABLE} CMAKE_ARGS+= -DDISABLE_SQLITE:BOOL=ON @@ -95,10 +98,11 @@ USES+= sqlite:3 CMAKE_ARGS+= -DDISABLE_SQLITE:BOOL=OFF .if ${PORT_OPTIONS:MSQLITE3_INTERNAL} CMAKE_ARGS+= -DSQLITE_BACKEND_INTERNAL:BOOL=ON +PLIST_SUB+= SQLITE3="@comment " .elif ${PORT_OPTIONS:MSQLITE3_MODULE} CMAKE_ARGS+= -DSQLITE_BACKEND_INTERNAL:BOOL=OFF -.endif PLIST_SUB+= SQLITE3="" .endif +.endif .include <bsd.port.mk> |