summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenda Xu <heroxbd@gentoo.org>2018-02-20 10:52:42 +0900
committerBenda Xu <heroxbd@gentoo.org>2018-02-20 10:55:41 +0900
commit7af3e0c8da764351c0760608e11f9ea91aedcba1 (patch)
treecab0740f6fb124fccf997d87262e6ba3b50c21ad /eclass/qt5-build.eclass
parentdev-php/PEAR-Crypt_GPG: Drop old (diff)
downloadgentoo-7af3e0c8da764351c0760608e11f9ea91aedcba1.tar.gz
gentoo-7af3e0c8da764351c0760608e11f9ea91aedcba1.tar.bz2
gentoo-7af3e0c8da764351c0760608e11f9ea91aedcba1.zip
qt5-build.eclass: ${D}${QT5_ARCHDATADIR#${EPREFIX}}: keep EPREFIX.
${D}${QT5_ARCHDATADIR#${EPREFIX}} mean no EPREFIX at all. ${D}${QT5_ARCHDATADIR} is cleaner than ${ED}${QT5_ARCHDATADIR#${EPREFIX}}, so use it.
Diffstat (limited to 'eclass/qt5-build.eclass')
-rw-r--r--eclass/qt5-build.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/qt5-build.eclass b/eclass/qt5-build.eclass
index 939a048d3d42..1a20b3dace60 100644
--- a/eclass/qt5-build.eclass
+++ b/eclass/qt5-build.eclass
@@ -844,8 +844,8 @@ qt5_install_module_config() {
# 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
- newins "${D}${QT5_ARCHDATADIR#${EPREFIX}}"/mkspecs/qmodule.pri qmodule-qtcore.pri
+ newins "${D}${QT5_ARCHDATADIR}"/mkspecs/qconfig.pri qconfig-qtcore.pri
+ newins "${D}${QT5_ARCHDATADIR}"/mkspecs/qmodule.pri qmodule-qtcore.pri
)
}