summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetr Vaněk <arkamar@atlas.cz>2021-09-06 08:24:00 +0200
committerSam James <sam@gentoo.org>2021-09-07 21:25:13 +0100
commit75c8f0d717c51684737bdb121161c39e09a51048 (patch)
tree47d2516c3cebd6dd736c0acecf27f3db404b9b3e /mail-filter
parentmail-filter/rspamd: use system dev-cpp/doctest (diff)
downloadgentoo-75c8f0d717c51684737bdb121161c39e09a51048.tar.gz
gentoo-75c8f0d717c51684737bdb121161c39e09a51048.tar.bz2
gentoo-75c8f0d717c51684737bdb121161c39e09a51048.zip
mail-filter/rspamd: sync live
Signed-off-by: Petr Vaněk <arkamar@atlas.cz> Closes: https://github.com/gentoo/gentoo/pull/22230 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 7bcf4740c473..df5d75abfd0e 100644
--- a/mail-filter/rspamd/rspamd-9999.ebuild
+++ b/mail-filter/rspamd/rspamd-9999.ebuild
@@ -35,6 +35,7 @@ RDEPEND="${LUA_DEPS}
acct-user/rspamd
app-arch/zstd:=
dev-db/sqlite:3
+ dev-cpp/doctest
dev-libs/glib:2
dev-libs/icu:=
dev-libs/libev
@@ -66,7 +67,7 @@ PATCHES=(
src_prepare() {
cmake_src_prepare
- rm -vrf contrib/{fmt,lua-bit,snowball,zstd} || die
+ rm -vrf contrib/{doctest,fmt,lua-bit,snowball,zstd} || die
sed -i -e 's/User=_rspamd/User=rspamd/g' \
rspamd.service \
@@ -80,6 +81,7 @@ src_configure() {
-DDBDIR=/var/lib/rspamd
-DLOGDIR=/var/log/rspamd
+ -DSYSTEM_DOCTEST=ON
-DSYSTEM_FMT=ON
-DSYSTEM_ZSTD=ON