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 B783A158086 for ; Wed, 27 Oct 2021 05:37:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 13EAEE0801; Wed, 27 Oct 2021 05:37:44 +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-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id EE676E0801 for ; Wed, 27 Oct 2021 05:37:43 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1A2083435C2 for ; Wed, 27 Oct 2021 05:37:43 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id AD9B1177 for ; Wed, 27 Oct 2021 05:37:41 +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: <1635313044.77615d7b99d8048194e82df0103e69756b0ca864.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/google-perftools/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/google-perftools/google-perftools-2.9.1-r1.ebuild dev-util/google-perftools/google-perftools-2.9.1-r2.ebuild X-VCS-Directories: dev-util/google-perftools/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 77615d7b99d8048194e82df0103e69756b0ca864 X-VCS-Branch: master Date: Wed, 27 Oct 2021 05:37:41 +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: d91e0fa6-418f-4c57-bc03-ce078f41fad7 X-Archives-Hash: db66eca492d8223725fdc143649c8d85 commit: 77615d7b99d8048194e82df0103e69756b0ca864 Author: Sam James gentoo org> AuthorDate: Wed Oct 27 05:37:24 2021 +0000 Commit: Sam James gentoo org> CommitDate: Wed Oct 27 05:37:24 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=77615d7b dev-util/google-perftools: minor ebuild tidying, fix typo in 2.9.1-r1 too Bug: https://bugs.gentoo.org/818871 Bug: https://bugs.gentoo.org/820449 Signed-off-by: Sam James gentoo.org> ...ols-2.9.1-r1.ebuild => google-perftools-2.9.1-r2.ebuild} | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/dev-util/google-perftools/google-perftools-2.9.1-r1.ebuild b/dev-util/google-perftools/google-perftools-2.9.1-r2.ebuild similarity index 92% rename from dev-util/google-perftools/google-perftools-2.9.1-r1.ebuild rename to dev-util/google-perftools/google-perftools-2.9.1-r2.ebuild index ed4a219b335..0ac7aaf851d 100644 --- a/dev-util/google-perftools/google-perftools-2.9.1-r1.ebuild +++ b/dev-util/google-perftools/google-perftools-2.9.1-r2.ebuild @@ -4,7 +4,7 @@ EAPI=7 MY_P="gperftools-${PV}" -inherit toolchain-funcs flag-o-matic autotools vcs-snapshot multilib-minimal +inherit flag-o-matic autotools vcs-snapshot multilib-minimal DESCRIPTION="Fast, multi-threaded malloc() and nifty performance analysis tools" HOMEPAGE="https://github.com/gperftools/gperftools" @@ -64,13 +64,18 @@ multilib_src_configure() { use optimisememory && append-cppflags -DTCMALLOC_SMALL_BUT_SLOW append-flags -fno-strict-aliasing -fno-omit-frame-pointer - local myconfargs=( + local myeconfargs=( --enable-shared $(use_enable static-libs static) $(use_enable debug debugalloc) - $(if [[ ${ABI} == x32 ]]; then printf "--enable-minimal\n" else use_enable minimal; fi) ) + if [[ ${ABI} == x32 ]]; then + myeconfargs+=( --enable-minimal ) + else + myeconfargs+=( $(use_enable minimal) ) + fi + if use arm64 || use s390; then # Use the same arches for disabling TLS (thread local storage) # as Fedora, but we might need to expand this list if we get @@ -78,7 +83,7 @@ multilib_src_configure() { myeconfargs+=( --disable-general-dynamic-tls ) fi - econf "${myconfargs[@]}" + econf "${myeconfargs[@]}" } src_test() {