games-strategy/freeciv: Fix path to Qt5 moc with qmake-utils.eclass

Closes: https://bugs.gentoo.org/756262
Package-Manager: Portage-3.0.10, Repoman-3.0.2
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
Andreas Sturmlechner 2020-11-24 01:59:17 +01:00
parent 5cc208cd8b
commit b2dcda6e1c
No known key found for this signature in database
GPG Key ID: 508AA000E0EE83E0
1 changed files with 2 additions and 1 deletions

View File

@ -6,7 +6,7 @@ EAPI=7
MY_PV="${PV/_beta/-beta}"
MY_PV="${MY_PV/_rc/-RC}"
MY_P="${PN}-${MY_PV}"
inherit desktop flag-o-matic xdg
inherit desktop flag-o-matic qmake-utils xdg
DESCRIPTION="multiplayer strategy game (Civilization Clone)"
HOMEPAGE="http://www.freeciv.org/"
@ -129,6 +129,7 @@ src_configure() {
use sdl && myclient+=( sdl2 )
use gtk && myclient+=( gtk2 )
if use qt5 ; then
local -x MOCCMD=$(qt5_get_bindir)/moc
myclient+=( qt )
append-cxxflags -std=c++11
fi