summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetr Vaněk <arkamar@gentoo.org>2023-11-29 10:23:31 +0100
committerPetr Vaněk <arkamar@gentoo.org>2023-11-29 22:12:16 +0100
commit49cb28937ceb21fcbee9b14a36bc92cc3f371772 (patch)
tree9853996d37aa05cba25d237b060b746a15ad762b /mail-filter
parentmail-filter/rspamd: switch to dev-libs/vctorscan (diff)
downloadgentoo-49cb28937ceb21fcbee9b14a36bc92cc3f371772.tar.gz
gentoo-49cb28937ceb21fcbee9b14a36bc92cc3f371772.tar.bz2
gentoo-49cb28937ceb21fcbee9b14a36bc92cc3f371772.zip
mail-filter/rspamd: sync live
Signed-off-by: Petr Vaněk <arkamar@gentoo.org>
Diffstat (limited to 'mail-filter')
-rw-r--r--mail-filter/rspamd/rspamd-9999.ebuild9
1 files changed, 6 insertions, 3 deletions
diff --git a/mail-filter/rspamd/rspamd-9999.ebuild b/mail-filter/rspamd/rspamd-9999.ebuild
index 8a3804be1663..d8e37a79ac0c 100644
--- a/mail-filter/rspamd/rspamd-9999.ebuild
+++ b/mail-filter/rspamd/rspamd-9999.ebuild
@@ -23,7 +23,7 @@ HOMEPAGE="
LICENSE="Apache-2.0 Boost-1.0 BSD BSD-1 BSD-2 CC0-1.0 LGPL-3 MIT public-domain unicode ZLIB"
SLOT="0"
-IUSE="blas cpu_flags_x86_ssse3 jemalloc +jit selinux test"
+IUSE="blas +hyperscan jemalloc +jit selinux test"
RESTRICT="!test? ( test )"
# A part of tests use ffi luajit extension
@@ -51,7 +51,7 @@ RDEPEND="
virtual/blas
virtual/lapack
)
- cpu_flags_x86_ssse3? ( dev-libs/hyperscan )
+ hyperscan? ( dev-libs/vectorscan:= )
jemalloc? ( dev-libs/jemalloc:= )
selinux? ( sec-policy/selinux-spamassassin )
"
@@ -99,10 +99,13 @@ src_configure() {
-DSYSTEM_ZSTD=ON
# For bundled https://github.com/bombela/backward-cpp
+ # Bundled backward library uses execinfo.h in current setting, which is
+ # available in glibc, but not in musl. Let's enable it for glibc only.
+ -DENABLE_BACKWARD=$(usex elibc_glibc ON OFF) # bug 917643
-DSTACK_DETAILS_AUTO_DETECT=OFF
-DENABLE_BLAS=$(usex blas ON OFF)
- -DENABLE_HYPERSCAN=$(usex cpu_flags_x86_ssse3 ON OFF)
+ -DENABLE_HYPERSCAN=$(usex hyperscan ON OFF)
-DENABLE_JEMALLOC=$(usex jemalloc ON OFF)
-DENABLE_LUAJIT=$(usex lua_single_target_luajit ON OFF)
-DENABLE_PCRE2=ON