From bc646c2c7045aab36289966bf1e6e77597efe25a Mon Sep 17 00:00:00 2001 From: Georgy Yakovlev Date: Sun, 25 Oct 2020 20:26:38 -0700 Subject: 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 --- dev-util/perf/perf-5.8.ebuild | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'dev-util/perf') 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 -- cgit v1.2.3-65-gdbad