diff options
Diffstat (limited to 'eclass/kde5.eclass')
| -rw-r--r-- | eclass/kde5.eclass | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/eclass/kde5.eclass b/eclass/kde5.eclass index bc2bba21731..a3c86fee224 100644 --- a/eclass/kde5.eclass +++ b/eclass/kde5.eclass @@ -51,7 +51,8 @@ EXPORT_FUNCTIONS pkg_setup pkg_nofetch src_unpack src_prepare src_configure src_ # @DESCRIPTION: # If set to "false", do nothing. # For any other value, assume the package is using KDEInstallDirs macro and switch -# KDE_INSTALL_USE_QT_SYS_PATHS to ON. +# KDE_INSTALL_USE_QT_SYS_PATHS to ON. For EAPI-7 and above, fix KDE_INSTALL_LIBEXECDIR +# to use the correct location. : ${ECM_KDEINSTALLDIRS:=true} # @ECLASS-VARIABLE: KDE_AUTODEPS @@ -647,6 +648,12 @@ kde5_src_configure() { # install mkspecs in the same directory as qt stuff -DKDE_INSTALL_USE_QT_SYS_PATHS=ON ) + if [[ ${EAPI} != 6 ]] ; then + cmakeargs+=( + # install to correct libexec location + -DKDE_INSTALL_LIBEXECDIR=${EPREFIX}/usr/libexec + ) + fi fi # allow the ebuild to override what we set here |
