Diff mrouted-4.2 with a mrouted-4.4
/usr/portage/net-misc/mrouted/mrouted-4.4.ebuild 2023-10-09 14:52:34.664368481 +0300 | ||
---|---|---|
1 |
# Copyright 1999-2022 Gentoo Authors |
|
1 |
# Copyright 1999-2023 Gentoo Authors |
|
2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
3 | 3 | |
4 |
EAPI=7 |
|
4 |
EAPI=8 |
|
5 | 5 | |
6 | 6 |
inherit toolchain-funcs systemd |
7 | 7 | |
8 | 8 |
DESCRIPTION="IP multicast routing daemon" |
9 | 9 |
HOMEPAGE="https://troglobit.com/projects/mrouted/" |
10 | 10 |
SRC_URI="https://github.com/troglobit/${PN}/releases/download/${PV}/${P}.tar.gz" |
11 |
LICENSE="Stanford GPL-2" |
|
12 | 11 | |
12 |
LICENSE="Stanford GPL-2" |
|
13 | 13 |
SLOT="0" |
14 | 14 |
KEYWORDS="amd64 ppc x86" |
15 |
IUSE="rsrr" |
|
15 |
IUSE="rsrr test" |
|
16 | 16 | |
17 |
BDEPEND=" |
|
18 |
|| ( dev-util/yacc sys-devel/bison ) |
|
19 |
virtual/pkgconfig |
|
20 |
" |
|
17 |
# Needs unshare |
|
18 |
RESTRICT="!test? ( test ) test" |
|
19 | ||
20 |
BDEPEND="virtual/pkgconfig |
|
21 |
app-alternatives/yacc" |
|
21 | 22 | |
22 | 23 |
src_configure() { |
23 | 24 |
tc-export CC CXX |
24 |
econf $(usex rsrr --enable-rsrr '') |
|
25 | ||
26 |
econf \ |
|
27 |
$(usev rsrr --enable-rsrr) \ |
|
28 |
$(use_enable test) |
|
25 | 29 |
} |
26 | 30 | |
27 | 31 |
src_compile() { |