commit:     831e459631b9c29dd49d7db8366bb79fc5aca49d
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sat Jul  8 20:47:46 2023 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sat Jul  8 21:18:22 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=831e4596

dev-qt/qtlocation: Move quirk back into local src_configure()

Of course, qtlocation is not a qttools module, so qt5_tools_oos_quirk was
never executed. Solve this by making the eclass function public and call
qt5_configure_oos_quirk before qt5-build_src_configure.

Closes: https://bugs.gentoo.org/910066
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 dev-qt/qtlocation/qtlocation-5.15.10.ebuild | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/dev-qt/qtlocation/qtlocation-5.15.10.ebuild 
b/dev-qt/qtlocation/qtlocation-5.15.10.ebuild
index b668a16694a3..419c78914928 100644
--- a/dev-qt/qtlocation/qtlocation-5.15.10.ebuild
+++ b/dev-qt/qtlocation/qtlocation-5.15.10.ebuild
@@ -49,3 +49,10 @@ src_prepare() {
        qt5-build_src_prepare
 }
 fi
+
+src_configure() {
+       # src/plugins/geoservices requires files that are only generated when
+       # qmake is run in the root directory. Bug 633776.
+       qt5_configure_oos_quirk qtlocation-config.pri src/location
+       qt5-build_src_configure
+}

Reply via email to