summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'mail-filter/rspamd')
-rw-r--r--mail-filter/rspamd/rspamd-2.1.ebuild2
-rw-r--r--mail-filter/rspamd/rspamd-2.2.ebuild2
2 files changed, 4 insertions, 0 deletions
diff --git a/mail-filter/rspamd/rspamd-2.1.ebuild b/mail-filter/rspamd/rspamd-2.1.ebuild
index db10c622a0c6..bdfa150670b4 100644
--- a/mail-filter/rspamd/rspamd-2.1.ebuild
+++ b/mail-filter/rspamd/rspamd-2.1.ebuild
@@ -44,6 +44,8 @@ DEPEND="${RDEPEND}"
src_prepare() {
cmake-utils_src_prepare
+ sed -i -e '/PROJECT/s/LANGUAGES C ASM/LANGUAGES C CXX ASM/' CMakeLists.txt \
+ || die "sed CMakeLists.txt failed"
sed -i -e 's/User=_rspamd/User=rspamd/g' \
rspamd.service \
|| die
diff --git a/mail-filter/rspamd/rspamd-2.2.ebuild b/mail-filter/rspamd/rspamd-2.2.ebuild
index 3a11c07504fe..c428effd2fe4 100644
--- a/mail-filter/rspamd/rspamd-2.2.ebuild
+++ b/mail-filter/rspamd/rspamd-2.2.ebuild
@@ -44,6 +44,8 @@ DEPEND="${RDEPEND}"
src_prepare() {
cmake-utils_src_prepare
+ sed -i -e '/PROJECT/s/LANGUAGES C ASM/LANGUAGES C CXX ASM/' CMakeLists.txt \
+ || die "sed CMakeLists.txt failed"
sed -i -e 's/User=_rspamd/User=rspamd/g' \
rspamd.service \
|| die