From 8c78790af05f79450173f4c26b97657338cd039e Mon Sep 17 00:00:00 2001 From: Yixun Lan Date: Wed, 23 Oct 2019 10:23:54 +0800 Subject: [PATCH] dev-util/lttng-ust: fix missing numa dependency error Closes: https://bugs.gentoo.org/698296 Package-Manager: Portage-2.3.78, Repoman-2.3.17 Signed-off-by: Yixun Lan --- dev-util/lttng-ust/lttng-ust-2.11.0.ebuild | 11 ++++++++--- dev-util/lttng-ust/metadata.xml | 4 +++- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/dev-util/lttng-ust/lttng-ust-2.11.0.ebuild b/dev-util/lttng-ust/lttng-ust-2.11.0.ebuild index ead5c2518d16..ecc26c91c8ac 100644 --- a/dev-util/lttng-ust/lttng-ust-2.11.0.ebuild +++ b/dev-util/lttng-ust/lttng-ust-2.11.0.ebuild @@ -15,9 +15,12 @@ SRC_URI="http://lttng.org/files/${PN}/${MY_P}.tar.bz2" LICENSE="GPL-2" SLOT="0/${MY_SLOT}" KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~x86" -IUSE="examples" +IUSE="examples numa" -DEPEND="dev-libs/userspace-rcu:=" +DEPEND=" + dev-libs/userspace-rcu:= + numa? ( sys-process/numactl ) + " RDEPEND="${DEPEND}" S="${WORKDIR}"/${MY_P} @@ -31,5 +34,7 @@ src_prepare() { } src_configure() { - econf --docdir=/usr/share/doc/${PF} + econf \ + $(use_enable numa) \ + --docdir=/usr/share/doc/${PF} } diff --git a/dev-util/lttng-ust/metadata.xml b/dev-util/lttng-ust/metadata.xml index 6c50e4708494..2b073ed00322 100644 --- a/dev-util/lttng-ust/metadata.xml +++ b/dev-util/lttng-ust/metadata.xml @@ -5,7 +5,9 @@ dlan@gentoo.org Yixun Lan - + + Enable numa support + The userspace tracer is designed to provide detailed information about userspace activity. UST is a port of the LTTng kernel tracer to userspace. Like the LTTng kernel tracer, performance is the main goal. Tracing does not require system calls or traps. UST instrumentation points may be added in any userspace code including signal handlers and libraries. -- 2.26.2