From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1518761-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C5FD515806E for <garchives@archives.gentoo.org>; Tue, 16 May 2023 01:52:58 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CD9BCE08BD; Tue, 16 May 2023 01:52:57 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B2738E08BD for <gentoo-commits@lists.gentoo.org>; Tue, 16 May 2023 01:52:57 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id AD2A433D3C5 for <gentoo-commits@lists.gentoo.org>; Tue, 16 May 2023 01:52:56 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 164FBA70 for <gentoo-commits@lists.gentoo.org>; Tue, 16 May 2023 01:52:55 +0000 (UTC) From: "Sam James" <sam@gentoo.org> 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" <sam@gentoo.org> Message-ID: <1684201936.62b1e506b04100c3155f55e60bb9e325840d826d.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/rlog/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/rlog/rlog-1.4.ebuild X-VCS-Directories: dev-libs/rlog/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 62b1e506b04100c3155f55e60bb9e325840d826d X-VCS-Branch: master Date: Tue, 16 May 2023 01:52:55 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: d82a44f1-455e-4c5f-a4c8-332e681cc8e8 X-Archives-Hash: 0f099f125989540e04abedd248e8e364 commit: 62b1e506b04100c3155f55e60bb9e325840d826d Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Tue May 16 00:56:37 2023 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Tue May 16 01:52:16 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=62b1e506 dev-libs/rlog: add Valgrind annotation support Signed-off-by: Sam James <sam <AT> gentoo.org> dev-libs/rlog/rlog-1.4.ebuild | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/dev-libs/rlog/rlog-1.4.ebuild b/dev-libs/rlog/rlog-1.4.ebuild index 1f58e0626556..37b964e296d2 100644 --- a/dev-libs/rlog/rlog-1.4.ebuild +++ b/dev-libs/rlog/rlog-1.4.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -12,7 +12,9 @@ SRC_URI="https://rlog.googlecode.com/files/${P}.tar.gz" LICENSE="LGPL-2.1" SLOT="0" KEYWORDS="amd64 ~arm ~ppc sparc x86" -IUSE="" +IUSE="valgrind" + +DEPEND="valgrind? ( dev-util/valgrind )" PATCHES=( "${FILESDIR}"/${PN}-1.3.7-gcc-4.3.patch @@ -25,6 +27,10 @@ src_prepare() { eautoreconf } +src_configure() { + econf $(use_enable valgrind) +} + src_install() { default