Diff lttng-ust-2.13.5 with a lttng-ust-2.13.6

/usr/portage/dev-util/lttng-ust/lttng-ust-2.13.6.ebuild 2023-10-09 14:52:30.980368388 +0300
3 3

  
4 4
EAPI=8
5 5

  
6
inherit autotools
6
# Please bump the following packages together:
7
# dev-util/lttng-modules
8
# dev-util/lttng-tools
9
# dev-util/lttng-ust
7 10

  
8 11
MY_P="${P/_rc/-rc}"
9 12
MY_SLOT="$(ver_cut 1-2)"
......
11 14
DESCRIPTION="Linux Trace Toolkit - UST library"
12 15
HOMEPAGE="https://lttng.org"
13 16
SRC_URI="https://lttng.org/files/${PN}/${MY_P}.tar.bz2"
17
S="${WORKDIR}"/${MY_P}
14 18

  
15 19
LICENSE="GPL-2"
16 20
SLOT="0/${MY_SLOT}"
17
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv sparc x86"
18
IUSE="examples numa"
21
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
22
IUSE="examples numa test"
23
RESTRICT="!test? ( test )"
19 24

  
20 25
DEPEND="
21
	dev-libs/userspace-rcu:=
22
	numa? ( sys-process/numactl )"
26
	>=dev-libs/userspace-rcu-0.12:=
27
	numa? ( sys-process/numactl )
28
"
23 29
RDEPEND="${DEPEND}"
24

  
25
S="${WORKDIR}"/${MY_P}
26

  
27
src_prepare() {
28
	default
29
	if ! use examples; then
30
		sed -i -e '/SUBDIRS/s:examples::' doc/Makefile.am || die
31
	fi
32
	eautoreconf
33
}
30
BDEPEND="
31
	virtual/pkgconfig
32
	test? ( dev-lang/perl )
33
"
34

  
35
QA_CONFIG_IMPL_DECL_SKIP=(
36
	pthread_get_name_np # different from pthread_getname_*, not on linux
37
	pthread_set_name_np # different from pthread_setname_*, not on linux
38
)
34 39

  
35 40
src_configure() {
36
	econf $(use_enable numa)
41
	local myeconfargs=(
42
		$(use_enable examples)
43
		$(use_enable numa)
44
	)
45

  
46
	econf "${myeconfargs[@]}"
37 47
}
38 48

  
39 49
src_install() {
Thank you!