Diff bird-2.0.11 with a bird-2.0.12-r1
/usr/portage/net-misc/bird/bird-2.0.12-r1.ebuild 2023-10-09 14:52:34.632368480 +0300 | ||
---|---|---|
11 | 11 |
LICENSE="GPL-2" |
12 | 12 | |
13 | 13 |
SLOT="0" |
14 |
KEYWORDS="~amd64 ~arm64 ~x86 ~x64-macos" |
|
15 |
IUSE="+client debug libssh" |
|
14 |
KEYWORDS="amd64 ~arm64 ~x86 ~x64-macos" |
|
15 |
IUSE="+client custom-cflags debug libssh" |
|
16 | 16 | |
17 | 17 |
RDEPEND=" |
18 | 18 |
client? ( |
... | ... | |
37 | 37 |
) |
38 | 38 | |
39 | 39 |
PATCHES=( |
40 |
"${FILESDIR}/${PN}-2.0.9-musl-tests.patch" |
|
40 |
"${FILESDIR}/${P}-musl-tests.patch" |
|
41 | 41 |
) |
42 | 42 | |
43 | 43 |
src_prepare() { |
... | ... | |
46 | 46 |
} |
47 | 47 | |
48 | 48 |
src_configure() { |
49 |
econf \ |
|
50 |
--localstatedir="${EPREFIX}/var" \ |
|
51 |
$(use_enable client) \ |
|
52 |
$(use_enable debug) \ |
|
49 |
# This export makes compilation and test phases verbose |
|
50 |
export VERBOSE=1 |
|
51 | ||
52 |
local myargs=( |
|
53 |
--localstatedir="${EPREFIX}/var" |
|
54 |
$(use_enable client) |
|
55 |
$(use_enable debug) |
|
53 | 56 |
$(use_enable libssh) |
57 |
) |
|
58 | ||
59 |
# lto must be enabled by default as bird is mono-threaded and use several |
|
60 |
# optimisations to be fast, as it may very likely be exposed to several |
|
61 |
# thounsand BGP updates per seconds |
|
62 |
# Although, we make it possible to deactivate it if wanted |
|
63 |
use custom-cflags && myargs+=( bird_cv_c_lto=no ) |
|
64 | ||
65 |
econf "${myargs[@]}" |
|
54 | 66 |
} |
55 | 67 | |
56 | 68 |
src_install() { |