From ce9cf468b74854dd0d12f3647c509b7e3700b179 Mon Sep 17 00:00:00 2001 From: Sam James Date: Thu, 23 Jun 2022 05:45:27 +0100 Subject: net-analyzer/nfdump: fix build on musl Closes: https://bugs.gentoo.org/853763 Thanks-to: CFuga Signed-off-by: Sam James --- net-analyzer/nfdump/nfdump-1.6.24.ebuild | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'net-analyzer/nfdump') diff --git a/net-analyzer/nfdump/nfdump-1.6.24.ebuild b/net-analyzer/nfdump/nfdump-1.6.24.ebuild index abe553c93b29..db24ffe43a66 100644 --- a/net-analyzer/nfdump/nfdump-1.6.24.ebuild +++ b/net-analyzer/nfdump/nfdump-1.6.24.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit autotools toolchain-funcs +inherit autotools flag-o-matic toolchain-funcs DESCRIPTION="A set of tools to collect and process netflow data" HOMEPAGE="https://github.com/phaag/nfdump" @@ -19,6 +19,7 @@ REQUIRED_USE="?? ( jnat nsel )" RDEPEND=" app-arch/bzip2 sys-libs/zlib + elibc_musl? ( sys-libs/fts-standalone ) ftconv? ( net-analyzer/flow-tools ) nfpcapd? ( net-libs/libpcap ) nfprofile? ( net-analyzer/rrdtool ) @@ -54,6 +55,9 @@ src_prepare() { src_configure() { tc-export CC + # bug #853763 + use elibc_musl && append-libs "-lfts" + # --without-ftconf is not handled well, bug #322201 econf \ $(use ftconv && echo "--enable-ftconv --with-ftpath=/usr") \ -- cgit v1.2.3-65-gdbad