summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorDavide Pesavento <pesa@gentoo.org>2018-02-01 19:56:10 +0100
committerMichael Palimaka <kensington@gentoo.org>2018-02-04 00:36:57 +1100
commitbdee917110456aabe70233a5832446f9fa2de622 (patch)
tree5b58aae0e2eefda809eef520a1efa4aa36e4f129 /eclass
parentqt5-build.eclass: fix warning message (diff)
downloadgentoo-bdee917110456aabe70233a5832446f9fa2de622.tar.gz
gentoo-bdee917110456aabe70233a5832446f9fa2de622.tar.bz2
gentoo-bdee917110456aabe70233a5832446f9fa2de622.zip
qt5-build.eclass: use a subshell for insinto+newins
Diffstat (limited to 'eclass')
-rw-r--r--eclass/qt5-build.eclass5
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