summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetr Vaněk <arkamar@atlas.cz>2019-12-13 13:40:39 +0100
committerJoonas Niilola <juippis@gentoo.org>2019-12-14 10:41:38 +0200
commita77f03c31b126d50e1d7c745126b1e4d6a4ebb2b (patch)
treeca04743d5cbabbf2df55d206c1eb0eacaa8808d7 /mail-filter/rspamd
parentmail-filter/rspamd: add missing dependency on dev-lang/lua (diff)
downloadgentoo-a77f03c31b126d50e1d7c745126b1e4d6a4ebb2b.tar.gz
gentoo-a77f03c31b126d50e1d7c745126b1e4d6a4ebb2b.tar.bz2
gentoo-a77f03c31b126d50e1d7c745126b1e4d6a4ebb2b.zip
mail-filter/rspamd: use CXXFLAGS correctly
Package-Manager: Portage-2.3.76, Repoman-2.3.16 Signed-off-by: Petr Vaněk <arkamar@atlas.cz> Closes: https://github.com/gentoo/gentoo/pull/13770 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
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