commit:     b2dcda6e1c4d2db4ada1e73f014860353977874f
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 24 00:59:17 2020 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Tue Nov 24 00:59:38 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b2dcda6e

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 <AT> gentoo.org>

 games-strategy/freeciv/freeciv-2.6.2.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/games-strategy/freeciv/freeciv-2.6.2.ebuild 
b/games-strategy/freeciv/freeciv-2.6.2.ebuild
index 1b61b770630..e361752c4a5 100644
--- a/games-strategy/freeciv/freeciv-2.6.2.ebuild
+++ b/games-strategy/freeciv/freeciv-2.6.2.ebuild
@@ -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

Reply via email to