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 E9D411382C5 for ; Sat, 27 Feb 2021 01:00:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 21B71E0880; Sat, 27 Feb 2021 01:00:33 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 0BFCFE0880 for ; Sat, 27 Feb 2021 01:00:33 +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 6D66F340976 for ; Sat, 27 Feb 2021 01:00:31 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 63AFB534 for ; Sat, 27 Feb 2021 01:00:28 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1614387605.449fb3fdc4993106e6e95ae8732f7d12d37f9b98.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libpfm/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/libpfm/libpfm-4.11.0.ebuild X-VCS-Directories: dev-libs/libpfm/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 449fb3fdc4993106e6e95ae8732f7d12d37f9b98 X-VCS-Branch: master Date: Sat, 27 Feb 2021 01:00:28 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 2274545d-e0c9-4594-a299-5a0927a509f3 X-Archives-Hash: eb26a79b6bf496680bb36464946187bd commit: 449fb3fdc4993106e6e95ae8732f7d12d37f9b98 Author: Sam James gentoo org> AuthorDate: Fri Feb 26 23:40:12 2021 +0000 Commit: Sam James gentoo org> CommitDate: Sat Feb 27 01:00:05 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=449fb3fd dev-libs/libpfm: keep static-libs Package-Manager: Portage-3.0.15, Repoman-3.0.2 Signed-off-by: Sam James gentoo.org> dev-libs/libpfm/libpfm-4.11.0.ebuild | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/dev-libs/libpfm/libpfm-4.11.0.ebuild b/dev-libs/libpfm/libpfm-4.11.0.ebuild index 594f18ab5f6..55e05a64d12 100644 --- a/dev-libs/libpfm/libpfm-4.11.0.ebuild +++ b/dev-libs/libpfm/libpfm-4.11.0.ebuild @@ -12,6 +12,7 @@ SRC_URI="mirror://sourceforge/perfmon2/${PN}4/${P}.tar.gz" LICENSE="GPL-2 MIT" SLOT="0/4" KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" +IUSE="static-libs" src_prepare() { default @@ -31,8 +32,7 @@ src_install() { emake DESTDIR="${D}" LDCONFIG=true PREFIX="${EPREFIX}/usr" install dodoc README - find "${ED}" -name '*.a' -delete || die - - # Note: dev-libs/papi uses .la files to detect this package, so - # don't remove them. + if ! use static-libs ; then + find "${ED}" -name '*.la' -delete || die + fi }