aboutsummaryrefslogtreecommitdiff
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:19:07 +0200
commitc6adb6d459e7177b86d78c99c6b7d67fbdbac862 (patch)
treec3507de55422a26046b5cb52703d0250702666f6 /eclass
parentdev-util/kdevelop-python: enable py3.12 (diff)
downloadkde-c6adb6d459e7177b86d78c99c6b7d67fbdbac862.tar.gz
kde-c6adb6d459e7177b86d78c99c6b7d67fbdbac862.tar.bz2
kde-c6adb6d459e7177b86d78c99c6b7d67fbdbac862.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. Bug: 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 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