diff options
author | Sam James <sam@gentoo.org> | 2023-05-16 02:58:31 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-05-16 02:58:31 +0100 |
commit | c54f2a353beef188f413688a7bbeffa489786e51 (patch) | |
tree | f12a8309a547e4b1afc3e1b8b57b21da62c64f04 /net-misc/lldpd | |
parent | sys-block/fio: add Valgrind annotation support (diff) | |
download | gentoo-c54f2a353beef188f413688a7bbeffa489786e51.tar.gz gentoo-c54f2a353beef188f413688a7bbeffa489786e51.tar.bz2 gentoo-c54f2a353beef188f413688a7bbeffa489786e51.zip |
net-misc/lldpd: add Valgrind annotation support
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-misc/lldpd')
-rw-r--r-- | net-misc/lldpd/lldpd-1.0.16-r2.ebuild | 5 |
1 files changed, 4 insertions, 1 deletions
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} \ |