commit:     8c75082750ede008f9f5a4596103ddd5381e0076
Author:     Cristian Othón Martínez Vera <cfuga <AT> cfuga <DOT> mx>
AuthorDate: Thu Nov 21 18:18:12 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Nov 25 21:53:14 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c750827

net-analyzer/nfdump: fix version 1.7.4 with USE="zstd"

When ```configure``` receive the option ```--with-zstdpath``` without a path, 
pollutes the ```CPPFLAGS``` variable with a spurious 'yes/lib' string.

This patch adds a path, like the ftconv ```USE```  flag does.

Closes: https://bugs.gentoo.org/937022
Signed-off-by: Cristian Othón Martínez Vera <cfuga <AT> cfuga.mx>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-analyzer/nfdump/nfdump-1.7.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-analyzer/nfdump/nfdump-1.7.4.ebuild 
b/net-analyzer/nfdump/nfdump-1.7.4.ebuild
index e0356c192572..9ba85b7fd6b2 100644
--- a/net-analyzer/nfdump/nfdump-1.7.4.ebuild
+++ b/net-analyzer/nfdump/nfdump-1.7.4.ebuild
@@ -76,7 +76,7 @@ src_configure() {
                $(use_enable nsel)
                $(use_enable readpcap)
                $(use_enable sflow)
-               $(use_with zstd zstdpath)
+               $(use_with zstd "zstdpath=/usr")
        )
        econf "${myeconfargs[@]}"
 }

Reply via email to