diff options
Diffstat (limited to 'dev-util/perf')
-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 |