commit:     bda3ec7f17d830ea56f5eb09fe42e0e61eaf14c5
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 10 08:37:14 2020 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Fri Apr 10 08:37:56 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bda3ec7f

dev-qt/qtlocation: Fix src_configure for out-of-source build

Package-Manager: Portage-2.3.98, Repoman-2.3.22
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 dev-qt/qtlocation/qtlocation-5.14.2.ebuild | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/dev-qt/qtlocation/qtlocation-5.14.2.ebuild 
b/dev-qt/qtlocation/qtlocation-5.14.2.ebuild
index 838cb1e243a..07669c361d6 100644
--- a/dev-qt/qtlocation/qtlocation-5.14.2.ebuild
+++ b/dev-qt/qtlocation/qtlocation-5.14.2.ebuild
@@ -40,7 +40,8 @@ QT5_TARGET_SUBDIRS=(
 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}"
+       mkdir -p "${QT5_BUILD_DIR}"/src/location || die
+       qt5_qmake "${QT5_BUILD_DIR}"
+       cp src/location/qtlocation-config.pri "${QT5_BUILD_DIR}"/src/location 
|| die
        qt5-build_src_configure
 }

Reply via email to