summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetr Vaněk <arkamar@atlas.cz>2022-04-08 16:52:09 +0200
committerSam James <sam@gentoo.org>2022-04-12 09:20:14 +0100
commit92406fdceebaaa26eb55713857256ebd69ef7279 (patch)
tree6b3346c584fcce06e7a9ffd95db91ef91b5a29cb /mail-filter
parentmail-filter/rspamd: sync live (diff)
downloadgentoo-92406fdceebaaa26eb55713857256ebd69ef7279.tar.gz
gentoo-92406fdceebaaa26eb55713857256ebd69ef7279.tar.bz2
gentoo-92406fdceebaaa26eb55713857256ebd69ef7279.zip
mail-filter/rspamd: use system dev-libs/xxhash
New SYSTEM_XXHASH was recently accepted by upstream. Upstream-PR: https://github.com/rspamd/rspamd/pull/4138 Signed-off-by: Petr Vaněk <arkamar@atlas.cz> Closes: https://github.com/gentoo/gentoo/pull/24945 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'mail-filter')
-rw-r--r--mail-filter/rspamd/rspamd-9999.ebuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/mail-filter/rspamd/rspamd-9999.ebuild b/mail-filter/rspamd/rspamd-9999.ebuild
index f04832d56b59..5ca54eb0e85c 100644
--- a/mail-filter/rspamd/rspamd-9999.ebuild
+++ b/mail-filter/rspamd/rspamd-9999.ebuild
@@ -43,6 +43,7 @@ RDEPEND="${LUA_DEPS}
dev-libs/libsodium:=
dev-libs/openssl:0=[-bindist(-)]
dev-libs/snowball-stemmer:=
+ >=dev-libs/xxhash-0.8.0
sys-apps/file
blas? (
virtual/blas
@@ -68,7 +69,7 @@ PATCHES=(
src_prepare() {
cmake_src_prepare
- rm -vrf contrib/{doctest,fmt,lua-{argparse,bit},snowball,zstd} || die
+ rm -vrf contrib/{doctest,fmt,lua-{argparse,bit},snowball,xxhash,zstd} || die
> cmake/Toolset.cmake || die #827550
@@ -86,6 +87,7 @@ src_configure() {
-DSYSTEM_DOCTEST=ON
-DSYSTEM_FMT=ON
+ -DSYSTEM_XXHASH=ON
-DSYSTEM_ZSTD=ON
-DENABLE_BLAS=$(usex blas ON OFF)