Diff siege-4.1.0 with a siege-4.1.6
/usr/portage/app-benchmarks/siege/siege-4.1.6.ebuild 2023-10-09 14:52:28.208368318 +0300 | ||
---|---|---|
1 |
# Copyright 1999-2021 Gentoo Authors |
|
1 |
# Copyright 2022-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 autotools bash-completion-r1 |
7 | 7 | |
... | ... | |
14 | 14 |
SLOT="0" |
15 | 15 |
IUSE="ssl" |
16 | 16 | |
17 |
RDEPEND="sys-libs/zlib |
|
18 |
ssl? ( dev-libs/openssl:0= )" |
|
17 |
RDEPEND=" |
|
18 |
sys-libs/zlib |
|
19 |
ssl? ( dev-libs/openssl:0= ) |
|
20 |
" |
|
19 | 21 |
DEPEND="${RDEPEND}" |
20 | 22 | |
21 | 23 |
src_prepare() { |
... | ... | |
26 | 28 |
-e '/AC_PROG_SHELL/d' \ |
27 | 29 |
-e 's/SSL_LDFLAGS="-L.*lib"/SSL_LDFLAGS=""/g' \ |
28 | 30 |
-e 's/Z_LDFLAGS="-L.*lib"/Z_LDFLAGS=""/g' \ |
29 |
configure.ac || die |
|
31 |
configure.ac || die "Failed to sed configure.ac" |
|
30 | 32 |
rm *.m4 || die "failed to remove bundled macros" |
31 | 33 |
eautoreconf |
32 | 34 |
} |
33 | 35 | |
34 | 36 |
src_configure() { |
35 |
local myconf=( |
|
36 |
$(use_with ssl ssl "${EPREFIX}/usr") |
|
37 |
) |
|
37 |
local myconf=( $(use_with ssl ssl "${EPREFIX}/usr") ) |
|
38 | 38 |
econf "${myconf[@]}" |
39 | 39 |
} |
40 | 40 |