Diff libpcap-1.10.7 with a libpcap-9999

/usr/portage/net-libs/libpcap/libpcap-9999.ebuild 2026-09-16 20:03:04.915816386 +0300
3 3

  
4 4
EAPI=8
5 5

  
6
inherit autotools multilib-minimal
6
inherit autotools edo multilib-minimal multiprocessing
7 7

  
8
DESCRIPTION="A system-independent library for user-level network packet capture"
8
DESCRIPTION="System-independent library for user-level network packet capture"
9 9
HOMEPAGE="https://www.tcpdump.org/ https://github.com/the-tcpdump-group/libpcap"
10 10

  
11 11
if [[ ${PV} == *9999* ]] ; then
......
18 18
	SRC_URI="https://www.tcpdump.org/release/${P}.tar.gz"
19 19
	SRC_URI+=" verify-sig? ( https://www.tcpdump.org/release/${P}.tar.gz.sig )"
20 20

  
21
	KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~x64-macos"
21
	KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos"
22 22
fi
23 23

  
24 24
# The project itself has COPYING with BSD, but the files used for
......
42 42
	app-alternatives/yacc
43 43
	sys-devel/flex
44 44
	dbus? ( virtual/pkgconfig )
45
	test? ( dev-lang/perl )
45 46
"
46 47

  
47 48
if [[ ${PV} != *9999* ]] ; then
......
70 71
		$(use_enable usb)
71 72
		$(use_enable yydebug)
72 73
		$(use_with netlink libnl)
73
		--enable-ipv6
74 74
	)
75 75

  
76 76
	ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
......
78 78

  
79 79
multilib_src_compile() {
80 80
	emake all shared
81
	use test && emake testprogs
82 81
}
83 82

  
84 83
multilib_src_test() {
85
	testprogs/findalldevstest || die
84
	if has_version -b "dev-lang/perl[perl_features_ithreads]" ; then
85
		# errors out if this is set w/o ithreads
86
		local -x TESTRUN_JOBS=$(get_makeopts_jobs)
87
	else
88
		ewarn "Running tests serially without dev-lang/perl[perl_features_ithreads]"
89
	fi
90

  
91
	emake -Onone check
92
	edo testprogs/findalldevstest
86 93
}
87 94

  
88 95
multilib_src_install_all() {
89
	dodoc CREDITS CHANGES VERSION TODO README.* doc/README.*
96
	dodoc CREDITS CHANGES VERSION README.* doc/README.*
90 97

  
91 98
	# remove static libraries (--disable-static does not work)
92 99
	if ! use static-libs; then
Thank you!