dev-qt/qtlocation: fix build of 5.9.2
authorMichael Palimaka <kensington@gentoo.org>
Tue, 10 Oct 2017 11:20:11 +0000 (22:20 +1100)
committerMichael Palimaka <kensington@gentoo.org>
Tue, 10 Oct 2017 11:22:39 +0000 (22:22 +1100)
Closes: https://bugs.gentoo.org/633776
Package-Manager: Portage-2.3.8, Repoman-2.3.3

dev-qt/qtlocation/qtlocation-5.9.2.ebuild

index 420e3c9ba782c54f9f7988b5d97f1ae7f9475699..06c3a9a1206f69a15a986a1cd30006e298ba9f23 100644 (file)
@@ -34,3 +34,11 @@ QT5_TARGET_SUBDIRS=(
        src/imports/location
        src/plugins/geoservices
 )
+
+src_configure() {
+       # src/plugins/geoservices requires files that are only generated when
+       # qmake is run in the root directory. Bug 633776.
+       mkdir -p "${QT5_BUILD_DIR}" || die
+       qt5_qmake "${QT_BUILD_DIR}"
+       qt5-build_src_configure
+}