Skip to content

Commit

Permalink
qt5-build.eclass: ${D}${QT5_ARCHDATADIR#${EPREFIX}}: keep EPREFIX.
Browse files Browse the repository at this point in the history
  ${D}${QT5_ARCHDATADIR#${EPREFIX}} mean no EPREFIX at all.
  ${D}${QT5_ARCHDATADIR} is cleaner than
  ${ED}${QT5_ARCHDATADIR#${EPREFIX}}, so use it.
  • Loading branch information
heroxbd committed Feb 20, 2018
1 parent 44f559e commit 7af3e0c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions eclass/qt5-build.eclass
Original file line number Diff line number Diff line change
Expand Up @@ -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
)
}

Expand Down

0 comments on commit 7af3e0c

Please sign in to comment.