From: Petr Vaněk Date: Fri, 13 Dec 2019 12:40:39 +0000 (+0100) Subject: mail-filter/rspamd: use CXXFLAGS correctly X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=a77f03c31b126d50e1d7c745126b1e4d6a4ebb2b;p=gentoo.git mail-filter/rspamd: use CXXFLAGS correctly 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 --- 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