Diff watchdog-5.16 with a watchdog-5.16-r1
/usr/portage/sys-apps/watchdog/watchdog-5.16-r1.ebuild 2023-10-09 14:52:35.420368500 +0300 | ||
---|---|---|
1 |
# Copyright 1999-2022 Gentoo Authors |
|
1 |
# Copyright 1999-2023 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 | 6 |
inherit flag-o-matic systemd toolchain-funcs |
7 | 7 | |
... | ... | |
12 | 12 |
LICENSE="GPL-2" |
13 | 13 |
SLOT="0" |
14 | 14 |
KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ~ppc64 ~riscv ~s390 ~sparc x86" |
15 |
IUSE="nfs" |
|
15 |
IUSE="nfs selinux" |
|
16 | 16 | |
17 |
RDEPEND="nfs? ( net-libs/libtirpc )" |
|
18 |
DEPEND="${RDEPEND}" |
|
17 |
DEPEND="nfs? ( net-libs/libtirpc )" |
|
18 |
RDEPEND=" |
|
19 |
${DEPEND} |
|
20 |
selinux? ( sec-policy/selinux-watchdog ) |
|
21 |
" |
|
19 | 22 |
BDEPEND=" |
20 | 23 |
virtual/pkgconfig |
21 | 24 |
" |
22 | 25 | |
26 |
PATCHES=( |
|
27 |
"${FILESDIR}"/${PN}-5.16-implicit-func-decls-musl.patch |
|
28 |
) |
|
29 | ||
23 | 30 |
src_configure() { |
24 | 31 |
if use nfs; then |
25 | 32 |
append-cppflags "$($(tc-getPKG_CONFIG) libtirpc --cflags)" |