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 9E7D41382C5 for ; Sat, 27 Feb 2021 01:00:32 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 67EB5E086A; Sat, 27 Feb 2021 01:00:31 +0000 (UTC) Received: from smtp.gentoo.org (dev.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 4EFCBE086A for ; Sat, 27 Feb 2021 01:00:31 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 0C6E8340976 for ; Sat, 27 Feb 2021 01:00:30 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3D5E6532 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: <1614387603.7a151047316051b18f580c0c9e92712789812967.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libpfm/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/libpfm/Manifest 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: 7a151047316051b18f580c0c9e92712789812967 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: 1246df0a-c643-43e7-8f4d-2b07ba3062fb X-Archives-Hash: 174c069208ba15326b6036d6c1975a99 commit: 7a151047316051b18f580c0c9e92712789812967 Author: Sam James gentoo org> AuthorDate: Fri Feb 26 23:32:21 2021 +0000 Commit: Sam James gentoo org> CommitDate: Sat Feb 27 01:00:03 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a151047 dev-libs/libpfm: bump to 4.11.0 Package-Manager: Portage-3.0.15, Repoman-3.0.2 Signed-off-by: Sam James gentoo.org> dev-libs/libpfm/Manifest | 1 + dev-libs/libpfm/libpfm-4.11.0.ebuild | 38 ++++++++++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+) diff --git a/dev-libs/libpfm/Manifest b/dev-libs/libpfm/Manifest index cb38241422a..8c43bf88594 100644 --- a/dev-libs/libpfm/Manifest +++ b/dev-libs/libpfm/Manifest @@ -1 +1,2 @@ DIST libpfm-4.10.1.tar.gz 1005988 BLAKE2B 7bdc64540cdf0404bfab0a631e506f37a79ca090d68c798fe4943f627ebc3e15e01f6c4530d4eec2c82a6f759845af518cbf34b3ad19ecc5fa48a874611aaa16 SHA512 33d99824216b4d83784e0db9f1aae3b39f84c2ba42dee64dde0b3c43cc5ee3a18c206d9044e75bf10867768add7cb9967c6318f7aa196f178f334271fa05e1aa +DIST libpfm-4.11.0.tar.gz 1043686 BLAKE2B 99b4f1a5156316139603cf50cf42c13c548a0b196435bfc92bc26ebd3f8d7ec9584255978d4f3fbff45cddc937269961e9d2b65d065632ae635e9ca45c179a54 SHA512 633035b8a7b35973437572095cdc80d422b2a1a61e74e14f106db95fa8e44e4518e591699cc457f828b8f2fb63f60eef6d0c7535c6b4c9a6c3a70d4550b3c3c7 diff --git a/dev-libs/libpfm/libpfm-4.11.0.ebuild b/dev-libs/libpfm/libpfm-4.11.0.ebuild new file mode 100644 index 00000000000..594f18ab5f6 --- /dev/null +++ b/dev-libs/libpfm/libpfm-4.11.0.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit toolchain-funcs + +DESCRIPTION="Hardware-based performance monitoring interface for Linux" +HOMEPAGE="http://perfmon2.sourceforge.net" +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" + +src_prepare() { + default + + sed -e "s:SLDFLAGS=:SLDFLAGS=\$(LDFLAGS) :g" \ + -i lib/Makefile || die + sed -e "s:LIBDIR=\$(PREFIX)/lib:LIBDIR=\$(PREFIX)/$(get_libdir):g" \ + -i config.mk || die +} + +src_compile() { + # 'DBG=' unsets '-Werror' and other optional flags, bug #664294 + emake AR=$(tc-getAR) CC=$(tc-getCC) DBG= +} + +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. +}