commit: c54f2a353beef188f413688a7bbeffa489786e51
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue May 16 01:58:31 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue May 16 01:58:31 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c54f2a35
net-misc/lldpd: add Valgrind annotation support
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-misc/lldpd/lldpd-1.0.16-r2.ebuild | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/net-misc/lldpd/lldpd-1.0.16-r2.ebuild
b/net-misc/lldpd/lldpd-1.0.16-r2.ebuild
index 52edf114f8db..76245a3ea31e 100644
--- a/net-misc/lldpd/lldpd-1.0.16-r2.ebuild
+++ b/net-misc/lldpd/lldpd-1.0.16-r2.ebuild
@@ -13,7 +13,7 @@ LICENSE="ISC"
SLOT="0/4.9.1"
KEYWORDS="~amd64 ~x86"
IUSE="cdp doc +dot1 +dot3 edp fdp graph +lldpmed old-kernel sanitizers
- seccomp sonmp snmp static-libs test readline xml"
+ seccomp sonmp snmp static-libs test readline valgrind xml"
RESTRICT="!test? ( test )"
RDEPEND="
@@ -28,6 +28,7 @@ RDEPEND="
"
DEPEND="${RDEPEND}
test? ( dev-libs/check )
+ valgrind? ( dev-util/valgrind )
"
BDEPEND="virtual/pkgconfig
doc? (
@@ -55,6 +56,8 @@ src_prepare() {
}
src_configure() {
+ export ac_cv_header_valgrind_valgrind_h=$(usex valgrind)
+
econf \
--without-embedded-libevent \
--with-privsep-user=${PN} \