commit:     49cb28937ceb21fcbee9b14a36bc92cc3f371772
Author:     Petr Vaněk <arkamar <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 29 09:23:31 2023 +0000
Commit:     Petr Vaněk <arkamar <AT> gentoo <DOT> org>
CommitDate: Wed Nov 29 21:12:16 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49cb2893

mail-filter/rspamd: sync live

Signed-off-by: Petr Vaněk <arkamar <AT> gentoo.org>

 mail-filter/rspamd/rspamd-9999.ebuild | 9 ++++++---
 1 file 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

Reply via email to