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@gentoo.org>
This commit is contained in:
Andreas Sturmlechner
2020-04-10 10:37:14 +02:00
parent 5dd6143d31
commit bda3ec7f17

View File

@@ -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
}