diff options
author | Petr Vaněk <arkamar@atlas.cz> | 2021-11-12 09:33:57 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-11-22 10:08:57 +0000 |
commit | ce8c5ced6f2dd5150bbfb248015f92bbffb1959f (patch) | |
tree | 5c0a362331451193a719dc671e6aea980e3dec08 | |
parent | dev-db/mariadb-connector-odbc: 3.1.14 (diff) | |
download | gentoo-ce8c5ced6f2dd5150bbfb248015f92bbffb1959f.tar.gz gentoo-ce8c5ced6f2dd5150bbfb248015f92bbffb1959f.tar.bz2 gentoo-ce8c5ced6f2dd5150bbfb248015f92bbffb1959f.zip |
mail-filter/rspamd: make USE=jit to control only PCRE JIT support
It is valid configuration to use JIT enabled PCRE with non-JIT Lua and
vice versa, as it was pointed out in a bug report. Therefore, this
change removes
jit? ( lua_single_target_luajit )
restriction from all available ebuilds.
Closes: https://bugs.gentoo.org/822765
Signed-off-by: Petr Vaněk <arkamar@atlas.cz>
Closes: https://github.com/gentoo/gentoo/pull/22915
Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r-- | mail-filter/rspamd/metadata.xml | 1 | ||||
-rw-r--r-- | mail-filter/rspamd/rspamd-2.7-r103.ebuild | 3 | ||||
-rw-r--r-- | mail-filter/rspamd/rspamd-3.0-r3.ebuild | 1 | ||||
-rw-r--r-- | mail-filter/rspamd/rspamd-3.1.ebuild | 1 | ||||
-rw-r--r-- | mail-filter/rspamd/rspamd-9999.ebuild | 1 |
5 files changed, 2 insertions, 5 deletions
diff --git a/mail-filter/rspamd/metadata.xml b/mail-filter/rspamd/metadata.xml index a183078256ab..78a3ccc54c80 100644 --- a/mail-filter/rspamd/metadata.xml +++ b/mail-filter/rspamd/metadata.xml @@ -18,5 +18,6 @@ </upstream> <use> <flag name="pcre2">Use dev-libs/libpcre2</flag> + <flag name="jit">Enable PCRE JIT support</flag> </use> </pkgmetadata> diff --git a/mail-filter/rspamd/rspamd-2.7-r103.ebuild b/mail-filter/rspamd/rspamd-2.7-r103.ebuild index 8a361f82f03e..e3e4d0e59f1e 100644 --- a/mail-filter/rspamd/rspamd-2.7-r103.ebuild +++ b/mail-filter/rspamd/rspamd-2.7-r103.ebuild @@ -21,8 +21,7 @@ LICENSE="Apache-2.0 Boost-1.0 BSD BSD-1 BSD-2 CC0-1.0 LGPL-3 MIT public-domain u SLOT="0" IUSE="blas cpu_flags_x86_ssse3 jemalloc +jit pcre2" -REQUIRED_USE="${LUA_REQUIRED_USE} - jit? ( lua_single_target_luajit )" +REQUIRED_USE="${LUA_REQUIRED_USE}" RDEPEND="${LUA_DEPS} $(lua_gen_cond_dep ' diff --git a/mail-filter/rspamd/rspamd-3.0-r3.ebuild b/mail-filter/rspamd/rspamd-3.0-r3.ebuild index 1ff4af0796ec..54434e12ad55 100644 --- a/mail-filter/rspamd/rspamd-3.0-r3.ebuild +++ b/mail-filter/rspamd/rspamd-3.0-r3.ebuild @@ -24,7 +24,6 @@ RESTRICT="!test? ( test )" # A part of tests use ffi luajit extension REQUIRED_USE="${LUA_REQUIRED_USE} - jit? ( lua_single_target_luajit ) test? ( lua_single_target_luajit )" RDEPEND="${LUA_DEPS} diff --git a/mail-filter/rspamd/rspamd-3.1.ebuild b/mail-filter/rspamd/rspamd-3.1.ebuild index df5d75abfd0e..3d43ffe54025 100644 --- a/mail-filter/rspamd/rspamd-3.1.ebuild +++ b/mail-filter/rspamd/rspamd-3.1.ebuild @@ -24,7 +24,6 @@ RESTRICT="!test? ( test )" # A part of tests use ffi luajit extension REQUIRED_USE="${LUA_REQUIRED_USE} - jit? ( lua_single_target_luajit ) test? ( lua_single_target_luajit )" RDEPEND="${LUA_DEPS} diff --git a/mail-filter/rspamd/rspamd-9999.ebuild b/mail-filter/rspamd/rspamd-9999.ebuild index df5d75abfd0e..3d43ffe54025 100644 --- a/mail-filter/rspamd/rspamd-9999.ebuild +++ b/mail-filter/rspamd/rspamd-9999.ebuild @@ -24,7 +24,6 @@ RESTRICT="!test? ( test )" # A part of tests use ffi luajit extension REQUIRED_USE="${LUA_REQUIRED_USE} - jit? ( lua_single_target_luajit ) test? ( lua_single_target_luajit )" RDEPEND="${LUA_DEPS} |