Сравнение procenv-0.51-r1 с procenv-0.60-r1

/usr/portage/sys-process/procenv/procenv-0.60-r1.ebuild 2026-05-27 19:17:04.755634940 +0300
1
# Copyright 1999-2023 Gentoo Authors
1
# Copyright 1999-2026 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
6
inherit autotools toolchain-funcs
7 7

  
8 8
DESCRIPTION="command-line utility to show process environment"
9 9
HOMEPAGE="https://github.com/jamesodhunt/procenv"
......
12 12
LICENSE="GPL-3"
13 13
SLOT="0"
14 14
KEYWORDS="~amd64 ~hppa ~ppc64 ~x86"
15
IUSE="test"
15
IUSE="apparmor caps numa selinux test"
16 16
RESTRICT="!test? ( test )"
17 17

  
18
DEPEND="test? ( dev-libs/check )"
18
RDEPEND="
19
	apparmor? ( sys-libs/libapparmor )
20
	caps? ( sys-libs/libcap )
21
	numa? ( sys-process/numactl )
22
	selinux? ( sys-libs/libselinux )
23
"
24
DEPEND="
25
	${RDEPEND}
26
	test? ( dev-libs/check )
27
"
19 28
BDEPEND="virtual/pkgconfig"
20 29

  
21 30
PATCHES=(
22
	"${FILESDIR}"/${PN}-0.45-flags.patch
23
	"${FILESDIR}"/${PN}-0.51-musl-sysmacros.patch
31
	"${FILESDIR}"/${PN}-0.60-fix-typo.patch
32
	"${FILESDIR}"/${PN}-0.60-no-werror.patch
33
	"${FILESDIR}"/${PN}-0.60-musl.patch
24 34
)
25 35

  
26 36
src_prepare() {
27 37
	default
28 38
	eautoreconf
29 39
}
40

  
41
src_configure() {
42
	tc-export CC LD CPP
43
	export CPP="${CPP/-gcc -E/-cpp}"
44

  
45
	use apparmor || export ac_cv_search_aa_gettaskcon=no
46
	export ac_cv_header_sys_apparmor_h=$(usex apparmor)
47
	export ac_cv_header_sys_capability_h=$(usex caps)
48
	export ac_cv_header_numa_h=$(usex numa)
49
	use selinux || export ac_cv_search_getpidcon=no
50
	export ac_cv_header_selinux_selinux_h=$(usex selinux)
51

  
52
	default
53
}
Спасибо!