diff options
author | Georgy Yakovlev <gyakovlev@gentoo.org> | 2020-10-25 20:26:38 -0700 |
---|---|---|
committer | Georgy Yakovlev <gyakovlev@gentoo.org> | 2020-10-25 20:29:05 -0700 |
commit | bc646c2c7045aab36289966bf1e6e77597efe25a (patch) | |
tree | 11e8236da51a3a5646b39ceb718b87a7da7bdae3 /dev-util | |
parent | sys-cluster/kube-scheduler: stabilize 1.19.3 on amd64 (diff) | |
download | gentoo-bc646c2c7045aab36289966bf1e6e77597efe25a.tar.gz gentoo-bc646c2c7045aab36289966bf1e6e77597efe25a.tar.bz2 gentoo-bc646c2c7045aab36289966bf1e6e77597efe25a.zip |
dev-util/perf: fix gtk on ppc64
on behalf of ppc64 arch team
Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/perf/perf-5.8.ebuild | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/dev-util/perf/perf-5.8.ebuild b/dev-util/perf/perf-5.8.ebuild index d0b9058a60c1..2395cf24d1f3 100644 --- a/dev-util/perf/perf-5.8.ebuild +++ b/dev-util/perf/perf-5.8.ebuild @@ -215,7 +215,11 @@ src_install() { rm -rv "${ED}"/usr/share/doc/perf-tip || die if use gtk; then - mv "${ED}"/usr/$(get_libdir)/libperf-gtk.so \ + local libdir + libdir="$(get_libdir)" + # on some arches it ends up in lib even on 64bit, ppc64 for instance. + [[ "${ED}"/usr/lib/libperf-gtk.so ]] && libdir="lib" + mv "${ED}"/usr/${libdir}/libperf-gtk.so \ "${ED}"/usr/libexec/perf-core || die fi |