mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user