app-crypt/xca: Fixed compilation with >=qt-5.7.0 (bug #595440).

Package-Manager: portage-2.3.2
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
This commit is contained in:
Lars Wendler
2016-10-19 16:27:55 +02:00
parent d85eb428d8
commit 26bf76caa5

View File

@@ -4,7 +4,7 @@
EAPI="5"
inherit eutils toolchain-funcs autotools
inherit eutils flag-o-matic toolchain-funcs autotools
DESCRIPTION="A GUI to OpenSSL, RSA public keys, certificates, signing requests etc"
HOMEPAGE="http://xca.sourceforge.net"
@@ -32,6 +32,8 @@ src_prepare() {
}
src_configure() {
# bug #595440
use qt5 && append-cxxflags -std=c++11
econf \
--docdir="${EPREFIX}/usr/share/doc/${PF}" \
--with-qt-version=$(use qt5 && echo 5 || echo 4) \