mail-filter/rspamd: use CXXFLAGS correctly
authorPetr Vaněk <arkamar@atlas.cz>
Fri, 13 Dec 2019 12:40:39 +0000 (13:40 +0100)
committerJoonas Niilola <juippis@gentoo.org>
Sat, 14 Dec 2019 08:41:38 +0000 (10:41 +0200)
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>
mail-filter/rspamd/rspamd-2.1.ebuild
mail-filter/rspamd/rspamd-2.2.ebuild

index db10c622a0c60e198dd7ee7f9a8954c04101ea08..bdfa150670b45c6dc6bc36836f7bb241fdcaea63 100644 (file)
@@ -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
index 3a11c07504fe6441c1ca4eb09195ddd3b86b12d3..c428effd2fe452bdc90e8aa692a0aa9f86f7a79b 100644 (file)
@@ -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