summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetr Vaněk <arkamar@atlas.cz>2021-11-29 19:37:39 +0100
committerSam James <sam@gentoo.org>2021-12-01 20:02:18 +0000
commit45c18da33fe7f9ec1d9eb61d8c60406a867c63bb (patch)
treedbf0defb9b22c15da5c4aefc77bfe0ea25b2c49d /mail-filter
parentmedia-video/wireplumber: apply multiple important looking fixes (diff)
downloadgentoo-45c18da33fe7f9ec1d9eb61d8c60406a867c63bb.tar.gz
gentoo-45c18da33fe7f9ec1d9eb61d8c60406a867c63bb.tar.bz2
gentoo-45c18da33fe7f9ec1d9eb61d8c60406a867c63bb.zip
mail-filter/rspamd: respect user compiler flags choice
The Toolset.cmake file seems to be unnecessary, it tries to control flags which in Gentoo should be controlled by user. This applies a change suggested in [1]. [1] https://bugs.gentoo.org/827550#c1 Closes: https://bugs.gentoo.org/827550 Signed-off-by: Petr Vaněk <arkamar@atlas.cz> Closes: https://github.com/gentoo/gentoo/pull/23127 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'mail-filter')
-rw-r--r--mail-filter/rspamd/rspamd-3.1.ebuild2
-rw-r--r--mail-filter/rspamd/rspamd-9999.ebuild2
2 files changed, 4 insertions, 0 deletions
diff --git a/mail-filter/rspamd/rspamd-3.1.ebuild b/mail-filter/rspamd/rspamd-3.1.ebuild
index 3d43ffe54025..b4d4c6d23bae 100644
--- a/mail-filter/rspamd/rspamd-3.1.ebuild
+++ b/mail-filter/rspamd/rspamd-3.1.ebuild
@@ -68,6 +68,8 @@ src_prepare() {
rm -vrf contrib/{doctest,fmt,lua-bit,snowball,zstd} || die
+ > cmake/Toolset.cmake || die #827550
+
sed -i -e 's/User=_rspamd/User=rspamd/g' \
rspamd.service \
|| die
diff --git a/mail-filter/rspamd/rspamd-9999.ebuild b/mail-filter/rspamd/rspamd-9999.ebuild
index 3d43ffe54025..b4d4c6d23bae 100644
--- a/mail-filter/rspamd/rspamd-9999.ebuild
+++ b/mail-filter/rspamd/rspamd-9999.ebuild
@@ -68,6 +68,8 @@ src_prepare() {
rm -vrf contrib/{doctest,fmt,lua-bit,snowball,zstd} || die
+ > cmake/Toolset.cmake || die #827550
+
sed -i -e 's/User=_rspamd/User=rspamd/g' \
rspamd.service \
|| die