mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-23 18:32:55 +00:00
add mysql and pgsql options for NetBSD package
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
10693cf705
commit
64ed98d61a
3 changed files with 29 additions and 0 deletions
|
@ -20,6 +20,8 @@ CMAKE_ARGS = -DKATIE_TOOLS_SUFFIX="-katie"
|
|||
USE_LANGUAGES = c c++11
|
||||
USE_TOOLS = pkg-config msgfmt
|
||||
|
||||
.include "options.mk"
|
||||
|
||||
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
|
||||
.include "../../archivers/zstd/buildlink3.mk"
|
||||
.include "../../textproc/icu/buildlink3.mk"
|
||||
|
|
|
@ -1485,6 +1485,8 @@ lib/katie/plugins/imageformats/libqtga.so
|
|||
lib/katie/plugins/imageformats/libqtiff.so
|
||||
lib/katie/plugins/script/libqtscriptdbus.so
|
||||
lib/katie/plugins/sqldrivers/libqsqlodbc.so
|
||||
${PLIST.mysql}lib/katie/plugins/sqldrivers/libqsqlmysql.so
|
||||
${PLIST.pgsql}lib/katie/plugins/sqldrivers/libqsqlpsql.so
|
||||
lib/libKtCore.so
|
||||
lib/libKtCore.so.4.9
|
||||
lib/libKtCore.so.4.9.2
|
||||
|
|
25
package/netbsd/options.mk
Normal file
25
package/netbsd/options.mk
Normal file
|
@ -0,0 +1,25 @@
|
|||
# $NetBSD$
|
||||
|
||||
PKG_OPTIONS_VAR = PKG_OPTIONS.katie
|
||||
PKG_SUPPORTED_OPTIONS = mysql pgsql
|
||||
PKG_SUGGESTED_OPTIONS =
|
||||
|
||||
.include "../../mk/bsd.options.mk"
|
||||
|
||||
PLIST_VARS += mysql pgsql
|
||||
|
||||
.if !empty(PKG_OPTIONS:Mmysql)
|
||||
CMAKE_ARGS += -DWITH_MYSQL=TRUE
|
||||
PLIST.mysql = yes
|
||||
. include "../../mk/mysql.buildlink3.mk"
|
||||
.else
|
||||
CMAKE_ARGS += -DWITH_MYSQL=FALSE
|
||||
.endif
|
||||
|
||||
.if !empty(PKG_OPTIONS:Mpgsql)
|
||||
CMAKE_ARGS += -DWITH_POSTGRESQL=TRUE
|
||||
PLIST.pgsql = yes
|
||||
. include "../../mk/pgsql.buildlink3.mk"
|
||||
.else
|
||||
CMAKE_ARGS += -DWITH_POSTGRESQL=FALSE
|
||||
.endif
|
Loading…
Add table
Reference in a new issue