commit: c6adb6d459e7177b86d78c99c6b7d67fbdbac862
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 2 20:36:21 2024 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Wed Jun 12 15:19:07 2024 +0000
URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=c6adb6d4
ecm.eclass: Pass -DKDE_INSTALL_LIBEXECDIR="${EPREFIX}/usr/libexec"
But only in KF6-based packages as those are still masked, for getting
away with changing installed files.
Bug: https://bugs.gentoo.org/928345
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
eclass/ecm.eclass | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/eclass/ecm.eclass b/eclass/ecm.eclass
index 7f1b777a45..5864c2764f 100644
--- a/eclass/ecm.eclass
+++ b/eclass/ecm.eclass
@@ -584,6 +584,12 @@ ecm_src_configure() {
# move handbook outside of doc dir, bug 667138
-DKDE_INSTALL_DOCBUNDLEDIR="${EPREFIX}/usr/share/help"
)
+
+ # bug 928345
+ # TODO: Eventually it should be put to upstream as to why
LIBEXECDIR
+ # in KDEInstallDirsCommon.cmake is set to
EXECROOTDIR/LIBDIR/libexec
+ [[ ${_KFSLOT} == 6 ]] && \
+ cmakeargs+=(
-DKDE_INSTALL_LIBEXECDIR="${EPREFIX}/usr/libexec" )
fi
# allow the ebuild to override what we set here