commit:     1181247f968f4930c8f95e1028c3eb595583b2fa
Author:     Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Wed May 24 14:50:36 2017 +0000
Commit:     Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Wed May 24 14:50:36 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1181247f

dev-util/perf: Prefix support

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 dev-util/perf/perf-4.9.13.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-util/perf/perf-4.9.13.ebuild b/dev-util/perf/perf-4.9.13.ebuild
index 52ad3a53f5a..97f3a8aa355 100644
--- a/dev-util/perf/perf-4.9.13.ebuild
+++ b/dev-util/perf/perf-4.9.13.ebuild
@@ -37,7 +37,7 @@ SRC_URI+=" 
mirror://kernel/linux/kernel/v${LINUX_V}/${LINUX_SOURCES}"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~ppc ~x86"
+KEYWORDS="~amd64 ~arm ~ppc ~x86 ~amd64-linux ~x86-linux"
 IUSE="audit debug +demangle +doc gtk numa perl python slang unwind"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 
@@ -131,7 +131,7 @@ perf_make() {
        local arch=$(tc-arch-kernel)
        emake V=1 \
                CC="$(tc-getCC)" AR="$(tc-getAR)" LD="$(tc-getLD)" \
-               prefix="/usr" bindir_relative="bin" \
+               prefix="${EPREFIX}/usr" bindir_relative="bin" \
                EXTRA_CFLAGS="${CFLAGS}" \
                ARCH="${arch}" \
                NO_DEMANGLE=$(puse demangle) \

Reply via email to