summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2024-06-02 22:36:21 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2024-06-12 17:25:05 +0200
commit5487461e44bffc530ccbeba0867925d8658009d4 (patch)
tree085989ecce57fcf87451973743af264d25e3195e /eclass
parentprofiles/arch/x86: disable thin on lvm2 (diff)
downloadgentoo-5487461e44bffc530ccbeba0867925d8658009d4.tar.gz
gentoo-5487461e44bffc530ccbeba0867925d8658009d4.tar.bz2
gentoo-5487461e44bffc530ccbeba0867925d8658009d4.zip
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. Closes: https://bugs.gentoo.org/928345 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/ecm.eclass6
1 files changed, 6 insertions, 0 deletions
diff --git a/eclass/ecm.eclass b/eclass/ecm.eclass
index 6d64815984cc..d36b11ebd5e8 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