Diff numactl-2.0.14 with a numactl-2.0.14-r1

/usr/portage/sys-process/numactl/numactl-2.0.14-r1.ebuild 2023-10-09 14:52:35.580368504 +0300
1
# Copyright 1999-2023 Gentoo Authors
1
# Copyright 1999-2022 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4
EAPI=7
4
EAPI=8
5 5

  
6
inherit autotools flag-o-matic multilib-minimal
6
if [[ ${PV} != 2.0.14 ]] ; then
7
	eerror "Please do not bump to 2.0.15! It's broken:"
8
	eerror "https://github.com/numactl/numactl/issues/135"
9
	eerror "It's also missing a dist tarball:"
10
	eerror "https://github.com/numactl/numactl/issues/140"
11
	die "Please check ebuild!"
12
fi
13

  
14
inherit autotools multilib-minimal
7 15

  
8 16
DESCRIPTION="Utilities and libraries for NUMA systems"
9 17
HOMEPAGE="https://github.com/numactl/numactl"
10
if [[ "${PV}" == 9999 ]] ; then
18
if [[ ${PV} == 9999 ]] ; then
11 19
	inherit git-r3
12 20
	EGIT_REPO_URI="https://github.com/numactl/numactl.git"
13 21
else
14 22
	SRC_URI="https://github.com/numactl/numactl/releases/download/v${PV}/${P}.tar.gz"
15
	# ARM lacks the __NR_migrate_pages syscall.
16
	KEYWORDS="~alpha amd64 -arm arm64 ~ia64 ~loong ~mips ppc ppc64 ~riscv sparc x86 ~amd64-linux"
23
	KEYWORDS="~alpha amd64 arm64 ~ia64 ~loong ~mips ppc ppc64 ~riscv sparc x86 ~amd64-linux"
17 24
fi
18 25

  
19 26
LICENSE="GPL-2"
......
22 29

  
23 30
PATCHES=(
24 31
	"${FILESDIR}"/${PN}-2.0.14-latomic.patch
25
	"${FILESDIR}"/${PN}-2.0.14-numademo-cflags.patch #540856
32
	"${FILESDIR}"/${PN}-2.0.14-numademo-cflags.patch # bug #540856
26 33
)
27 34

  
28 35
src_prepare() {
29 36
	default
30 37

  
31
	# lto not supported yet
32
	# gcc-9 with -flto leads to link failures: #692254
33
	filter-lto
34

  
35 38
	eautoreconf
39

  
36 40
	# We need to copy the sources or else tests will fail
37 41
	multilib_copy_sources
38 42
}
......
66 70
multilib_src_install_all() {
67 71
	local DOCS=( README.md )
68 72
	einstalldocs
69
	# delete man pages provided by the man-pages package #238805
73

  
74
	# Delete man pages provided by the man-pages package, bug #238805
70 75
	rm -r "${ED}"/usr/share/man/man[25] || die
71 76
}
Thank you!