commit:     848e926dbe0e16264a92db986b89cdd5df55fc4e
Author:     Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at>
AuthorDate: Sun Jul 28 09:51:13 2024 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Tue Jul 30 18:33:38 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=848e926d

net-analyzer/tcpreplay: update live ebuild

Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at>
Closes: https://github.com/gentoo/gentoo/pull/37692
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 net-analyzer/tcpreplay/tcpreplay-9999.ebuild | 27 +++++++++++++++++----------
 1 file changed, 17 insertions(+), 10 deletions(-)

diff --git a/net-analyzer/tcpreplay/tcpreplay-9999.ebuild 
b/net-analyzer/tcpreplay/tcpreplay-9999.ebuild
index 28758be51d1b..12b855475582 100644
--- a/net-analyzer/tcpreplay/tcpreplay-9999.ebuild
+++ b/net-analyzer/tcpreplay/tcpreplay-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -35,6 +35,10 @@ DEPEND="
 "
 RDEPEND="${DEPEND}"
 
+QA_CONFIG_IMPL_DECL_SKIP=(
+       pathfind # sun/solaris only command, bug 900040
+)
+
 DOCS=( docs/{CHANGELOG,CREDIT,HACKING,TODO} )
 
 PATCHES=(
@@ -59,16 +63,19 @@ src_prepare() {
 src_configure() {
        use elibc_musl && append-flags "-lfts"
        # By default it uses static linking. Avoid that, bug #252940
-       econf \
-               $(use_enable debug) \
-               $(use_with pcapnav pcapnav-config 
"${BROOT}"/usr/bin/pcapnav-config) \
-               $(use_with tcpdump tcpdump "${ESYSROOT}"/usr/sbin/tcpdump) \
-               --enable-dynamic-link \
-               --enable-local-libopts \
-               --enable-shared \
-               --with-libdnet \
-               --with-testnic2=lo \
+       local myeconfargs=(
+               $(use_enable debug)
+               $(use_with pcapnav pcapnav-config 
"${BROOT}"/usr/bin/pcapnav-config)
+               $(use_with tcpdump tcpdump "${ESYSROOT}"/usr/sbin/tcpdump)
+               --enable-dynamic-link
+               --enable-local-libopts
+               --enable-shared
+               --with-libdnet
+               --with-testnic2=lo
                --with-testnic=lo
+       )
+
+       econf "${myeconfargs[@]}"
 }
 
 src_test() {

Reply via email to