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
