Diff lldpd-1.0.16 with a lldpd-1.0.16-r2

/usr/portage/net-misc/lldpd/lldpd-1.0.16-r2.ebuild 2023-10-09 14:52:34.660368480 +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 4
EAPI=8
......
11 11

  
12 12
LICENSE="ISC"
13 13
SLOT="0/4.9.1"
14
KEYWORDS="amd64 x86"
14
KEYWORDS="~amd64 ~x86"
15 15
IUSE="cdp doc +dot1 +dot3 edp fdp graph +lldpmed old-kernel sanitizers
16
	seccomp sonmp snmp static-libs test readline xml"
16
	seccomp sonmp snmp static-libs test readline valgrind xml"
17 17
RESTRICT="!test? ( test )"
18 18

  
19 19
RDEPEND="
......
28 28
"
29 29
DEPEND="${RDEPEND}
30 30
	test? ( dev-libs/check )
31
	valgrind? ( dev-util/valgrind )
31 32
"
32 33
BDEPEND="virtual/pkgconfig
33 34
	doc? (
......
44 45
# tests need root
45 46
RESTRICT+=" test"
46 47

  
48
PATCHES=(
49
	"${FILESDIR}"/${PN}-1.0.16-configure-clang16.patch
50
)
51

  
47 52
src_prepare() {
48 53
	default
49 54

  
......
51 56
}
52 57

  
53 58
src_configure() {
59
	export ac_cv_header_valgrind_valgrind_h=$(usex valgrind)
60

  
54 61
	econf \
55 62
		--without-embedded-libevent \
56 63
		--with-privsep-user=${PN} \
......
59 66
		--with-lldpd-ctl-socket=/run/${PN}.socket \
60 67
		--with-lldpd-pid-file=/run/${PN}.pid \
61 68
		$(use_enable cdp) \
69
		$(use_enable doc doxygen-doc) \
62 70
		$(use_enable doc doxygen-man) \
63 71
		$(use_enable doc doxygen-pdf) \
64 72
		$(use_enable doc doxygen-html) \
Thank you!