pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/databases/mariadb105-server
Module Name: pkgsrc
Committed By: nia
Date: Tue May 25 14:16:14 UTC 2021
Modified Files:
pkgsrc/databases/mariadb105-server: Makefile PLIST options.mk
Removed Files:
pkgsrc/databases/mariadb105-server: PLIST.embedded
Log Message:
mariadb105-server: add more PKG_OPTIONS.
The defaults are basically based on what FreeBSD/OpenBSD are doing.
MariaDB includes several third-party storage engines (e.g. RocksDB)
which are developed out-of-tree and don't generally have the same
(e.g. portability) guarantees. Keep these disabled by default for now.
bump PKGREVISION.
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/databases/mariadb105-server/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/databases/mariadb105-server/PLIST \
pkgsrc/databases/mariadb105-server/options.mk
cvs rdiff -u -r1.1 -r0 pkgsrc/databases/mariadb105-server/PLIST.embedded
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/databases/mariadb105-server/Makefile
diff -u pkgsrc/databases/mariadb105-server/Makefile:1.4 pkgsrc/databases/mariadb105-server/Makefile:1.5
--- pkgsrc/databases/mariadb105-server/Makefile:1.4 Tue May 25 11:14:55 2021
+++ pkgsrc/databases/mariadb105-server/Makefile Tue May 25 14:16:14 2021
@@ -1,15 +1,13 @@
-# $NetBSD: Makefile,v 1.4 2021/05/25 11:14:55 jperkin Exp $
+# $NetBSD: Makefile,v 1.5 2021/05/25 14:16:14 nia Exp $
PKGNAME= ${DISTNAME:S/-/-server-/}
-PKGREVISION= 1
+PKGREVISION= 2
COMMENT= MariaDB 10.5, a free MySQL compatible database (server)
CONFLICTS= mysql-server-[0-9]*
.include "../../databases/mariadb105-client/Makefile.common"
-CMAKE_ARGS+= -DPYTHON_SHEBANG=${PYTHONBIN}
-
BUILD_DEFS+= VARBASE
.include "../../mk/bsd.fast.prefs.mk"
@@ -44,19 +42,11 @@ USE_TOOLS= bash:run perl:run
REPLACE_BASH+= scripts/wsrep_sst_*.sh
REPLACE_BASH+= scripts/mariadb-service-convert
-post-install:
- ${CHMOD} +x ${DESTDIR}${PREFIX}/bin/mysql_install_db
-
.include "options.mk"
-.include "../../archivers/lz4/buildlink3.mk"
+.include "../../archivers/bzip2/buildlink3.mk"
+.include "../../archivers/xz/buildlink3.mk"
.include "../../databases/mariadb105-client/buildlink3.mk"
-.include "../../devel/boost-libs/buildlink3.mk"
.include "../../devel/libexecinfo/buildlink3.mk"
-.include "../../devel/libjudy/buildlink3.mk"
-.include "../../devel/msgpack/buildlink3.mk"
-.include "../../devel/pcre/buildlink3.mk"
-.include "../../devel/snappy/buildlink3.mk"
-.include "../../lang/python/application.mk"
.include "../../security/tcp_wrappers/buildlink3.mk"
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/databases/mariadb105-server/PLIST
diff -u pkgsrc/databases/mariadb105-server/PLIST:1.1 pkgsrc/databases/mariadb105-server/PLIST:1.2
--- pkgsrc/databases/mariadb105-server/PLIST:1.1 Sun May 23 15:32:48 2021
+++ pkgsrc/databases/mariadb105-server/PLIST Tue May 25 14:16:14 2021
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2021/05/23 15:32:48 nia Exp $
+@comment $NetBSD: PLIST,v 1.2 2021/05/25 14:16:14 nia Exp $
bin/aria_chk
bin/aria_dump_log
bin/aria_ftdump
@@ -9,10 +9,13 @@ bin/innochecksum
bin/mariabackup
bin/mariadb-backup
bin/mariadb-client-test
+${PLIST.embedded}bin/mariadb-client-test-embedded
bin/mariadb-dumpslow
+${PLIST.embedded}bin/mariadb-embedded
bin/mariadb-fix-extensions
bin/mariadb-install-db
-bin/mariadb-ldb
+${PLIST.rocksdb}bin/mariadb-ldb
+${PLIST.embedded}bin/mariadb-test-embedded
bin/mariadb-tzinfo-to-sql
bin/mariadb-waitpid
bin/mariadbd-multi
@@ -24,22 +27,26 @@ bin/myisam_ftdump
bin/myisamchk
bin/myisamlog
bin/myisampack
-bin/myrocks_hotbackup
+${PLIST.rocksdb}bin/myrocks_hotbackup
bin/mysql_client_test
+${PLIST.embedded}bin/mysql_client_test_embedded
+${PLIST.embedded}bin/mysql_embedded
bin/mysql_fix_extensions
bin/mysql_install_db
-bin/mysql_ldb
+${PLIST.rocksdb}bin/mysql_ldb
bin/mysql_tzinfo_to_sql
bin/mysql_waitpid
bin/mysqld_multi
bin/mysqld_safe
bin/mysqld_safe_helper
bin/mysqldumpslow
+${PLIST.embedded}bin/mysqltest_embedded
bin/perror
bin/replace
bin/resolve_stack_dump
bin/resolveip
-bin/sst_dump
+${PLIST.rocksdb}bin/sst_dump
+${PLIST.embedded}bin/test-connect-t
bin/wsrep_sst_common
bin/wsrep_sst_mariabackup
bin/wsrep_sst_mysqldump
@@ -59,6 +66,7 @@ include/mysql/server/private/derived_han
include/mysql/server/private/derror.h
include/mysql/server/private/des_key_file.h
include/mysql/server/private/discover.h
+${PLIST.embedded}include/mysql/server/private/embedded_priv.h
include/mysql/server/private/event_data_objects.h
include/mysql/server/private/event_db_repository.h
include/mysql/server/private/event_parse_data.h
@@ -285,6 +293,11 @@ include/mysql/server/private/wsrep_utils
include/mysql/server/private/wsrep_var.h
include/mysql/server/private/wsrep_xid.h
include/mysql/server/private/xa.h
+${PLIST.embedded}lib/libmariadbd.a
+${PLIST.embedded}lib/libmariadbd.so
+${PLIST.embedded}lib/libmariadbd.so.19
+${PLIST.embedded}lib/libmysqld.a
+${PLIST.embedded}lib/libmysqld.so
lib/libmysqlservices.a
lib/mysql/plugin/adt_null.so
lib/mysql/plugin/auth_0x0100.so
@@ -305,8 +318,8 @@ lib/mysql/plugin/ha_blackhole.so
lib/mysql/plugin/ha_connect.so
lib/mysql/plugin/ha_federated.so
lib/mysql/plugin/ha_federatedx.so
-lib/mysql/plugin/ha_oqgraph.so
-lib/mysql/plugin/ha_rocksdb.so
+${PLIST.oqgraph}lib/mysql/plugin/ha_oqgraph.so
+${PLIST.rocksdb}lib/mysql/plugin/ha_rocksdb.so
lib/mysql/plugin/ha_s3.so
lib/mysql/plugin/ha_sphinx.so
lib/mysql/plugin/ha_spider.so
@@ -3888,69 +3901,69 @@ share/mysql/test/plugin/myisammrg/storag
share/mysql/test/plugin/myisammrg/storage_engine/type_spatial.rdiff
share/mysql/test/plugin/myisammrg/storage_engine/type_spatial_indexes.rdiff
share/mysql/test/plugin/myisammrg/storage_engine/vcol.rdiff
-share/mysql/test/plugin/oqgraph/oqgraph/boundary_conditions.result
-share/mysql/test/plugin/oqgraph/oqgraph/boundary_conditions.test
-share/mysql/test/plugin/oqgraph/oqgraph/connections_mdev5748.result
-share/mysql/test/plugin/oqgraph/oqgraph/connections_mdev5748.test
-share/mysql/test/plugin/oqgraph/oqgraph/create_attr.result
-share/mysql/test/plugin/oqgraph/oqgraph/create_attr.test
-share/mysql/test/plugin/oqgraph/oqgraph/create_attr_legacy.result
-share/mysql/test/plugin/oqgraph/oqgraph/create_attr_legacy.test
-share/mysql/test/plugin/oqgraph/oqgraph/general-Aria.result
-share/mysql/test/plugin/oqgraph/oqgraph/general-Aria.test
-share/mysql/test/plugin/oqgraph/oqgraph/general-MyISAM.result
-share/mysql/test/plugin/oqgraph/oqgraph/general-MyISAM.test
-share/mysql/test/plugin/oqgraph/oqgraph/general-innodb.result
-share/mysql/test/plugin/oqgraph/oqgraph/general-innodb.test
-share/mysql/test/plugin/oqgraph/oqgraph/general.inc
-share/mysql/test/plugin/oqgraph/oqgraph/generate_backing_table_tests_suite.sh
-share/mysql/test/plugin/oqgraph/oqgraph/invalid_operations.result
-share/mysql/test/plugin/oqgraph/oqgraph/invalid_operations.test
-share/mysql/test/plugin/oqgraph/oqgraph/isnull.result
-share/mysql/test/plugin/oqgraph/oqgraph/isnull.test
-share/mysql/test/plugin/oqgraph/oqgraph/legacy_upgrade.result
-share/mysql/test/plugin/oqgraph/oqgraph/legacy_upgrade.test
-share/mysql/test/plugin/oqgraph/oqgraph/maintainer-general-record.sh
-share/mysql/test/plugin/oqgraph/oqgraph/regression_1133093.result
-share/mysql/test/plugin/oqgraph/oqgraph/regression_1133093.test
-share/mysql/test/plugin/oqgraph/oqgraph/regression_1134355.result
-share/mysql/test/plugin/oqgraph/oqgraph/regression_1134355.test
-share/mysql/test/plugin/oqgraph/oqgraph/regression_1195735.result
-share/mysql/test/plugin/oqgraph/oqgraph/regression_1195735.test
-share/mysql/test/plugin/oqgraph/oqgraph/regression_1196020.result
-share/mysql/test/plugin/oqgraph/oqgraph/regression_1196020.test
-share/mysql/test/plugin/oqgraph/oqgraph/regression_1196027.result
-share/mysql/test/plugin/oqgraph/oqgraph/regression_1196027.test
-share/mysql/test/plugin/oqgraph/oqgraph/regression_1196036.result
-share/mysql/test/plugin/oqgraph/oqgraph/regression_1196036.test
-share/mysql/test/plugin/oqgraph/oqgraph/regression_1213120.result
-share/mysql/test/plugin/oqgraph/oqgraph/regression_1213120.test
-share/mysql/test/plugin/oqgraph/oqgraph/regression_1233113.result
-share/mysql/test/plugin/oqgraph/oqgraph/regression_1233113.test
-share/mysql/test/plugin/oqgraph/oqgraph/regression_796647.result
-share/mysql/test/plugin/oqgraph/oqgraph/regression_796647.test
-share/mysql/test/plugin/oqgraph/oqgraph/regression_796647b.result
-share/mysql/test/plugin/oqgraph/oqgraph/regression_796647b.test
-share/mysql/test/plugin/oqgraph/oqgraph/regression_796647c.result
-share/mysql/test/plugin/oqgraph/oqgraph/regression_796647c.test
-share/mysql/test/plugin/oqgraph/oqgraph/regression_drop_after.result
-share/mysql/test/plugin/oqgraph/oqgraph/regression_drop_after.test
-share/mysql/test/plugin/oqgraph/oqgraph/regression_mdev5744.opt
-share/mysql/test/plugin/oqgraph/oqgraph/regression_mdev5744.result
-share/mysql/test/plugin/oqgraph/oqgraph/regression_mdev5744.test
-share/mysql/test/plugin/oqgraph/oqgraph/regression_mdev5871.result
-share/mysql/test/plugin/oqgraph/oqgraph/regression_mdev5871.test
-share/mysql/test/plugin/oqgraph/oqgraph/regression_mdev5996.inc
-share/mysql/test/plugin/oqgraph/oqgraph/regression_mdev5996.result
-share/mysql/test/plugin/oqgraph/oqgraph/regression_mdev5996.test
-share/mysql/test/plugin/oqgraph/oqgraph/regression_mdev6282.result
-share/mysql/test/plugin/oqgraph/oqgraph/regression_mdev6282.test
-share/mysql/test/plugin/oqgraph/oqgraph/regression_mdev6345.result
-share/mysql/test/plugin/oqgraph/oqgraph/regression_mdev6345.test
-share/mysql/test/plugin/oqgraph/oqgraph/social.result
-share/mysql/test/plugin/oqgraph/oqgraph/social.test
-share/mysql/test/plugin/oqgraph/oqgraph/suite.opt
-share/mysql/test/plugin/oqgraph/oqgraph/suite.pm
+${PLIST.oqgraph}share/mysql/test/plugin/oqgraph/oqgraph/boundary_conditions.result
+${PLIST.oqgraph}share/mysql/test/plugin/oqgraph/oqgraph/boundary_conditions.test
+${PLIST.oqgraph}share/mysql/test/plugin/oqgraph/oqgraph/connections_mdev5748.result
+${PLIST.oqgraph}share/mysql/test/plugin/oqgraph/oqgraph/connections_mdev5748.test
+${PLIST.oqgraph}share/mysql/test/plugin/oqgraph/oqgraph/create_attr.result
+${PLIST.oqgraph}share/mysql/test/plugin/oqgraph/oqgraph/create_attr.test
+${PLIST.oqgraph}share/mysql/test/plugin/oqgraph/oqgraph/create_attr_legacy.result
+${PLIST.oqgraph}share/mysql/test/plugin/oqgraph/oqgraph/create_attr_legacy.test
+${PLIST.oqgraph}share/mysql/test/plugin/oqgraph/oqgraph/general-Aria.result
+${PLIST.oqgraph}share/mysql/test/plugin/oqgraph/oqgraph/general-Aria.test
+${PLIST.oqgraph}share/mysql/test/plugin/oqgraph/oqgraph/general-MyISAM.result
+${PLIST.oqgraph}share/mysql/test/plugin/oqgraph/oqgraph/general-MyISAM.test
+${PLIST.oqgraph}share/mysql/test/plugin/oqgraph/oqgraph/general-innodb.result
+${PLIST.oqgraph}share/mysql/test/plugin/oqgraph/oqgraph/general-innodb.test
+${PLIST.oqgraph}share/mysql/test/plugin/oqgraph/oqgraph/general.inc
+${PLIST.oqgraph}share/mysql/test/plugin/oqgraph/oqgraph/generate_backing_table_tests_suite.sh
+${PLIST.oqgraph}share/mysql/test/plugin/oqgraph/oqgraph/invalid_operations.result
+${PLIST.oqgraph}share/mysql/test/plugin/oqgraph/oqgraph/invalid_operations.test
+${PLIST.oqgraph}share/mysql/test/plugin/oqgraph/oqgraph/isnull.result
+${PLIST.oqgraph}share/mysql/test/plugin/oqgraph/oqgraph/isnull.test
+${PLIST.oqgraph}share/mysql/test/plugin/oqgraph/oqgraph/legacy_upgrade.result
+${PLIST.oqgraph}share/mysql/test/plugin/oqgraph/oqgraph/legacy_upgrade.test
+${PLIST.oqgraph}share/mysql/test/plugin/oqgraph/oqgraph/maintainer-general-record.sh
+${PLIST.oqgraph}share/mysql/test/plugin/oqgraph/oqgraph/regression_1133093.result
+${PLIST.oqgraph}share/mysql/test/plugin/oqgraph/oqgraph/regression_1133093.test
+${PLIST.oqgraph}share/mysql/test/plugin/oqgraph/oqgraph/regression_1134355.result
+${PLIST.oqgraph}share/mysql/test/plugin/oqgraph/oqgraph/regression_1134355.test
+${PLIST.oqgraph}share/mysql/test/plugin/oqgraph/oqgraph/regression_1195735.result
+${PLIST.oqgraph}share/mysql/test/plugin/oqgraph/oqgraph/regression_1195735.test
+${PLIST.oqgraph}share/mysql/test/plugin/oqgraph/oqgraph/regression_1196020.result
+${PLIST.oqgraph}share/mysql/test/plugin/oqgraph/oqgraph/regression_1196020.test
+${PLIST.oqgraph}share/mysql/test/plugin/oqgraph/oqgraph/regression_1196027.result
+${PLIST.oqgraph}share/mysql/test/plugin/oqgraph/oqgraph/regression_1196027.test
+${PLIST.oqgraph}share/mysql/test/plugin/oqgraph/oqgraph/regression_1196036.result
+${PLIST.oqgraph}share/mysql/test/plugin/oqgraph/oqgraph/regression_1196036.test
+${PLIST.oqgraph}share/mysql/test/plugin/oqgraph/oqgraph/regression_1213120.result
+${PLIST.oqgraph}share/mysql/test/plugin/oqgraph/oqgraph/regression_1213120.test
+${PLIST.oqgraph}share/mysql/test/plugin/oqgraph/oqgraph/regression_1233113.result
+${PLIST.oqgraph}share/mysql/test/plugin/oqgraph/oqgraph/regression_1233113.test
+${PLIST.oqgraph}share/mysql/test/plugin/oqgraph/oqgraph/regression_796647.result
+${PLIST.oqgraph}share/mysql/test/plugin/oqgraph/oqgraph/regression_796647.test
+${PLIST.oqgraph}share/mysql/test/plugin/oqgraph/oqgraph/regression_796647b.result
+${PLIST.oqgraph}share/mysql/test/plugin/oqgraph/oqgraph/regression_796647b.test
+${PLIST.oqgraph}share/mysql/test/plugin/oqgraph/oqgraph/regression_796647c.result
+${PLIST.oqgraph}share/mysql/test/plugin/oqgraph/oqgraph/regression_796647c.test
+${PLIST.oqgraph}share/mysql/test/plugin/oqgraph/oqgraph/regression_drop_after.result
+${PLIST.oqgraph}share/mysql/test/plugin/oqgraph/oqgraph/regression_drop_after.test
+${PLIST.oqgraph}share/mysql/test/plugin/oqgraph/oqgraph/regression_mdev5744.opt
+${PLIST.oqgraph}share/mysql/test/plugin/oqgraph/oqgraph/regression_mdev5744.result
+${PLIST.oqgraph}share/mysql/test/plugin/oqgraph/oqgraph/regression_mdev5744.test
+${PLIST.oqgraph}share/mysql/test/plugin/oqgraph/oqgraph/regression_mdev5871.result
+${PLIST.oqgraph}share/mysql/test/plugin/oqgraph/oqgraph/regression_mdev5871.test
+${PLIST.oqgraph}share/mysql/test/plugin/oqgraph/oqgraph/regression_mdev5996.inc
+${PLIST.oqgraph}share/mysql/test/plugin/oqgraph/oqgraph/regression_mdev5996.result
+${PLIST.oqgraph}share/mysql/test/plugin/oqgraph/oqgraph/regression_mdev5996.test
+${PLIST.oqgraph}share/mysql/test/plugin/oqgraph/oqgraph/regression_mdev6282.result
+${PLIST.oqgraph}share/mysql/test/plugin/oqgraph/oqgraph/regression_mdev6282.test
+${PLIST.oqgraph}share/mysql/test/plugin/oqgraph/oqgraph/regression_mdev6345.result
+${PLIST.oqgraph}share/mysql/test/plugin/oqgraph/oqgraph/regression_mdev6345.test
+${PLIST.oqgraph}share/mysql/test/plugin/oqgraph/oqgraph/social.result
+${PLIST.oqgraph}share/mysql/test/plugin/oqgraph/oqgraph/social.test
+${PLIST.oqgraph}share/mysql/test/plugin/oqgraph/oqgraph/suite.opt
+${PLIST.oqgraph}share/mysql/test/plugin/oqgraph/oqgraph/suite.pm
share/mysql/test/plugin/query_response_time/query_response_time/basic.result
share/mysql/test/plugin/query_response_time/query_response_time/basic.test
share/mysql/test/plugin/query_response_time/query_response_time/query_response_time-stored.inc
Index: pkgsrc/databases/mariadb105-server/options.mk
diff -u pkgsrc/databases/mariadb105-server/options.mk:1.1 pkgsrc/databases/mariadb105-server/options.mk:1.2
--- pkgsrc/databases/mariadb105-server/options.mk:1.1 Sun May 23 15:32:48 2021
+++ pkgsrc/databases/mariadb105-server/options.mk Tue May 25 14:16:14 2021
@@ -1,19 +1,75 @@
-# $NetBSD: options.mk,v 1.1 2021/05/23 15:32:48 nia Exp $
+# $NetBSD: options.mk,v 1.2 2021/05/25 14:16:14 nia Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.mysql-server
-PKG_SUPPORTED_OPTIONS+= embedded-server ssl
+PKG_SUPPORTED_OPTIONS+= columnstore embedded-server lzo lz4 oqgraph rocksdb
+PKG_SUPPORTED_OPTIONS+= snappy ssl zstd
PKG_SUGGESTED_OPTIONS+= embedded-server ssl
.include "../../mk/bsd.options.mk"
+.if !empty(PKG_OPTIONS:Mcolumnstore)
+.include "../../devel/boost-headers/buildlink3.mk"
+CMAKE_ARGS+= -DPLUGIN_COLUMNSTORE=YES
+.else
+CMAKE_ARGS+= -DDPLUGIN_COLUMNSTORE=NO
+.endif
+
+PLIST_VARS+= embedded
.if !empty(PKG_OPTIONS:Membedded-server)
CMAKE_ARGS+= -DWITH_EMBEDDED_SERVER=ON
-PLIST_SRC+= PLIST.embedded
+PLIST.embedded= yes
.else
CMAKE_ARGS+= -DWITH_EMBEDDED_SERVER=OFF
.endif
+.if !empty(PKG_OPTIONS:Mlzo)
+.include "../../archivers/lzo/buildlink3.mk"
+CMAKE_ARGS+= -DWITH_INNODB_LZO=ON
+.else
+CMAKE_ARGS+= -DWITH_INNODB_LZO=OFF
+.endif
+
+.if !empty(PKG_OPTIONS:Mlz4)
+.include "../../archivers/lz4/buildlink3.mk"
+CMAKE_ARGS+= -DGRN_WITH_LZ4=ON
+CMAKE_ARGS+= -DWITH_INNODB_LZ4=ON
+CMAKE_ARGS+= -DWITH_ROCKSDB_LZ4=ON
+.else
+CMAKE_ARGS+= -DGRN_WITH_LZ4=OFF
+CMAKE_ARGS+= -DWITH_INNODB_LZ4=OFF
+CMAKE_ARGS+= -DWITH_ROCKSDB_LZ4=OFF
+.endif
+
+PLIST_VARS+= oqgraph
+.if !empty(PKG_OPTIONS:Moqgraph)
+CMAKE_ARGS+= -DPLUGIN_OQGRAPH=YES
+PLIST.oqgraph= yes
+.include "../../devel/boost-libs/buildlink3.mk"
+.include "../../devel/libjudy/buildlink3.mk"
+.else
+CMAKE_ARGS+= -DPLUGIN_OQGRAPH=NO
+.endif
+
+PLIST_VARS+= rocksdb
+.if !empty(PKG_OPTIONS:Mrocksdb)
+.include "../../lang/python/application.mk"
+PLIST.rocksdb= yes
+CMAKE_ARGS+= -DWITHOUT_ROCKSDB_STORAGE_ENGINE=OFF
+CMAKE_ARGS+= -DPYTHON_SHEBANG=${PYTHONBIN}
+.else
+CMAKE_ARGS+= -DWITHOUT_ROCKSDB_STORAGE_ENGINE=ON
+.endif
+
+.if !empty(PKG_OPTIONS:Msnappy)
+.include "../../devel/snappy/buildlink3.mk"
+CMAKE_ARGS+= -DWITH_INNODB_SNAPPY=ON
+CMAKE_ARGS+= -DWITH_ROCKSDB_snappy=ON
+.else
+CMAKE_ARGS+= -DWITH_INNODB_SNAPPY=OFF
+CMAKE_ARGS+= -DWITH_ROCKSDB_snappy=OFF
+.endif
+
# Enable OpenSSL support
.if !empty(PKG_OPTIONS:Mssl)
.include "../../security/openssl/buildlink3.mk"
@@ -22,3 +78,10 @@ LDFLAGS+= -lcrypto -lssl
.else
CMAKE_ARGS+= -DWITH_SSL=no
.endif
+
+.if !empty(PKG_OPTIONS:Mzstd)
+.include "../../archivers/zstd/buildlink3.mk"
+CMAKE_ARGS+= -DWITH_ROCKSDB_zstd=ON
+.else
+CMAKE_ARGS+= -DWITH_ROCKSDB_zstd=OFF
+.endif
Home |
Main Index |
Thread Index |
Old Index