From a77f03c31b126d50e1d7c745126b1e4d6a4ebb2b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Petr=20Van=C4=9Bk?= Date: Fri, 13 Dec 2019 13:40:39 +0100 Subject: [PATCH] mail-filter/rspamd: use CXXFLAGS correctly MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Package-Manager: Portage-2.3.76, Repoman-2.3.16 Signed-off-by: Petr Vaněk Closes: https://github.com/gentoo/gentoo/pull/13770 Signed-off-by: Joonas Niilola --- mail-filter/rspamd/rspamd-2.1.ebuild | 2 ++ mail-filter/rspamd/rspamd-2.2.ebuild | 2 ++ 2 files changed, 4 insertions(+) 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 -- 2.26.2