From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id F30571382C5 for ; Mon, 19 Mar 2018 18:06:58 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2EFEAE0966; Mon, 19 Mar 2018 18:06:58 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 089A1E0966 for ; Mon, 19 Mar 2018 18:06:57 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id EA897335CA6 for ; Mon, 19 Mar 2018 18:06:56 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 358CC260 for ; Mon, 19 Mar 2018 18:06:55 +0000 (UTC) From: "Guilherme Amadio" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Guilherme Amadio" Message-ID: <1521482709.ffe9a35a54fb083cedd42df283d78d995e8314bf.amadio@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-libs/libcap-ng/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-libs/libcap-ng/libcap-ng-0.7.9.ebuild X-VCS-Directories: sys-libs/libcap-ng/ X-VCS-Committer: amadio X-VCS-Committer-Name: Guilherme Amadio X-VCS-Revision: ffe9a35a54fb083cedd42df283d78d995e8314bf X-VCS-Branch: master Date: Mon, 19 Mar 2018 18:06:55 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 64de2aad-87e2-41db-99b5-d1a32175c53f X-Archives-Hash: 3c87111ea1095bea6e3ad12497877811 commit: ffe9a35a54fb083cedd42df283d78d995e8314bf Author: Guilherme Amadio gentoo org> AuthorDate: Mon Mar 19 13:09:05 2018 +0000 Commit: Guilherme Amadio gentoo org> CommitDate: Mon Mar 19 18:05:09 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ffe9a35a sys-libs/libcap-ng: prefix support Package-Manager: Portage-2.3.24, Repoman-2.3.6 sys-libs/libcap-ng/libcap-ng-0.7.9.ebuild | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/sys-libs/libcap-ng/libcap-ng-0.7.9.ebuild b/sys-libs/libcap-ng/libcap-ng-0.7.9.ebuild index 850239d9c23..e0f8423c7f6 100644 --- a/sys-libs/libcap-ng/libcap-ng-0.7.9.ebuild +++ b/sys-libs/libcap-ng/libcap-ng-0.7.9.ebuild @@ -22,6 +22,13 @@ DEPEND="${RDEPEND} sys-kernel/linux-headers python? ( >=dev-lang/swig-2 )" +src_prepare() { + default + if use prefix ; then + sed -i "s@cat /usr@cat ${EPREFIX}/usr@" bindings/python*/Makefile.am || die + fi +} + src_configure() { use sparc && replace-flags -O? -O0