summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Szuba <marecki@gentoo.org>2021-07-23 19:27:33 +0100
committerMarek Szuba <marecki@gentoo.org>2021-07-23 19:28:23 +0100
commit3391fce2a547bfff70858e8737ccacfb0b69ab3f (patch)
treedd3716500654bc529276d5ceac8a1055b2662d89 /net-mail
parentdev-cpp/clucene: keyword 2.3.3.4-r6 for ~riscv, EAPI 6 -> 7 (diff)
downloadgentoo-3391fce2a547bfff70858e8737ccacfb0b69ab3f.tar.gz
gentoo-3391fce2a547bfff70858e8737ccacfb0b69ab3f.tar.bz2
gentoo-3391fce2a547bfff70858e8737ccacfb0b69ab3f.zip
net-mail/dovecot: keyword 2.3.15-r1 for ~riscv
Signed-off-by: Marek Szuba <marecki@gentoo.org>
Diffstat (limited to 'net-mail')
-rw-r--r--net-mail/dovecot/dovecot-2.3.15-r1.ebuild11
1 files changed, 9 insertions, 2 deletions
diff --git a/net-mail/dovecot/dovecot-2.3.15-r1.ebuild b/net-mail/dovecot/dovecot-2.3.15-r1.ebuild
index b8d050347b01..8c886e6a7a53 100644
--- a/net-mail/dovecot/dovecot-2.3.15-r1.ebuild
+++ b/net-mail/dovecot/dovecot-2.3.15-r1.ebuild
@@ -6,7 +6,7 @@ EAPI=7
LUA_COMPAT=( lua5-1 lua5-3 )
# do not add a ssl USE flag. ssl is mandatory
SSL_DEPS_SKIP=1
-inherit autotools lua-single ssl-cert systemd toolchain-funcs
+inherit autotools flag-o-matic lua-single ssl-cert systemd toolchain-funcs
MY_P="${P/_/.}"
#MY_S="${PN}-ce-${PV}"
@@ -29,7 +29,7 @@ HOMEPAGE="https://www.dovecot.org/"
SLOT="0"
LICENSE="LGPL-2.1 MIT"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
IUSE_DOVECOT_AUTH="kerberos ldap lua mysql pam postgres sqlite"
IUSE_DOVECOT_COMPRESS="bzip2 lzma lz4 zlib zstd"
@@ -99,6 +99,13 @@ src_prepare() {
# bug 657108
#elibtoolize
eautoreconf
+
+ if use riscv; then
+ # Without this, src_tests dies due to failed asserts in test-backtrace.c;
+ # See https://salsa.debian.org/debian/dovecot/-/merge_requests/8 .
+ # Might in fact be needed on other arches as well.
+ append-cflags -funwind-tables
+ fi
}
src_configure() {