diff options
author | Davide Pesavento <pesa@gentoo.org> | 2018-02-01 19:56:10 +0100 |
---|---|---|
committer | Michael Palimaka <kensington@gentoo.org> | 2018-02-04 00:36:57 +1100 |
commit | bdee917110456aabe70233a5832446f9fa2de622 (patch) | |
tree | 5b58aae0e2eefda809eef520a1efa4aa36e4f129 /eclass/qt5-build.eclass | |
parent | qt5-build.eclass: fix warning message (diff) | |
download | gentoo-bdee917110456aabe70233a5832446f9fa2de622.tar.gz gentoo-bdee917110456aabe70233a5832446f9fa2de622.tar.bz2 gentoo-bdee917110456aabe70233a5832446f9fa2de622.zip |
qt5-build.eclass: use a subshell for insinto+newins
Diffstat (limited to 'eclass/qt5-build.eclass')
-rw-r--r-- | eclass/qt5-build.eclass | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/eclass/qt5-build.eclass b/eclass/qt5-build.eclass index 963dba571cb2..28d303e2a11a 100644 --- a/eclass/qt5-build.eclass +++ b/eclass/qt5-build.eclass @@ -804,10 +804,11 @@ qt5_install_module_qconfigs() { doins "${T}"/${PN}-qconfig.pri ) - if [[ ${PN} == qtcore && ${QT5_MINOR_VERSION} -ge 9 ]]; then + # install also the original qconfig.pri + [[ ${PN} == qtcore && ${QT5_MINOR_VERSION} -ge 9 ]] && ( insinto "${QT5_ARCHDATADIR#${EPREFIX}}"/mkspecs/gentoo newins "${D}${QT5_ARCHDATADIR#${EPREFIX}}"/mkspecs/qconfig.pri qconfig-qtcore.pri - fi + ) } # @FUNCTION: qt5_regenerate_global_qconfigs |