From: Yixun Lan Date: Wed, 23 Oct 2019 02:23:54 +0000 (+0800) Subject: dev-util/lttng-ust: fix missing numa dependency error X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=8c78790af05f79450173f4c26b97657338cd039e;p=gentoo.git 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 --- 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.