Diff libcap-2.43 with a libcap-2.48

/usr/portage/sys-libs/libcap/libcap-2.48.ebuild 2021-04-21 22:09:00.000000000 +0300
12 12
# it's available under either of the licenses
13 13
LICENSE="|| ( GPL-2 BSD )"
14 14
SLOT="0"
15
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux"
15
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
16 16
IUSE="pam static-libs"
17 17

  
18 18
# While the build system optionally uses gperf, we don't DEPEND on it because
......
27 27
RESTRICT="test"
28 28

  
29 29
PATCHES=(
30
	"${FILESDIR}"/${PN}-2.42-build-system-fixes.patch
30
	"${FILESDIR}"/${PN}-2.48-build-system-fixes.patch
31 31
	"${FILESDIR}"/${PN}-2.38-no_perl.patch
32 32
	"${FILESDIR}"/${PN}-2.25-ignore-RAISE_SETFCAP-install-failures.patch
33 33
	"${FILESDIR}"/${PN}-2.21-include.patch
......
47 47
		PAM_CAP="$(usex pam yes no)"
48 48
		DYNAMIC=yes
49 49
		GOLANG=no
50
		CC="$(tc-getCC)"
51
		AR="$(tc-getAR)"
52
		RANLIB="$(tc-getRANLIB)"
50 53
	)
51 54
	emake "${args[@]}" "$@"
52 55
}
......
66 69
	run_emake DESTDIR="${D}" install
67 70

  
68 71
	gen_usr_ldscript -a cap
72
	gen_usr_ldscript -a psx
69 73
	if ! use static-libs ; then
70
		# Don't remove libpsx.a!
71
		# See https://bugs.gentoo.org/703912
72
		rm "${ED}"/usr/$(get_libdir)/libcap.a || die
74
		rm "${ED}"/usr/$(get_libdir)/lib{cap,psx}.a || die
73 75
	fi
74 76

  
75 77
	if [[ -d "${ED}"/usr/$(get_libdir)/security ]] ; then
Thank you!