Diff apachetop-0.19.7 with a apachetop-0.23.2
/usr/portage/app-admin/apachetop/apachetop-0.23.2.ebuild 2023-10-09 14:52:28.136368316 +0300 | ||
---|---|---|
1 | 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 |
DESCRIPTION="A realtime Apache log analyzer" |
7 | 7 |
HOMEPAGE="https://github.com/tessus/apachetop" |
... | ... | |
13 | 13 |
IUSE="fam pcre" |
14 | 14 | |
15 | 15 |
RDEPEND=" |
16 |
sys-libs/ncurses:0= |
|
17 |
sys-libs/readline:0= |
|
16 |
sys-libs/ncurses:= |
|
17 |
sys-libs/readline:= |
|
18 | 18 |
fam? ( virtual/fam ) |
19 |
pcre? ( dev-libs/libpcre )" |
|
19 |
pcre? ( dev-libs/libpcre2 )" |
|
20 | 20 |
DEPEND="${RDEPEND}" |
21 | 21 |
BDEPEND="virtual/pkgconfig" |
22 | 22 | |
23 |
PATCHES=( |
|
24 |
"${FILESDIR}"/${PN}-0.19.7-c++17.patch |
|
25 |
) |
|
26 | ||
27 | 23 |
src_configure() { |
28 | 24 |
econf \ |
29 | 25 |
--with-logfile="${EPREFIX}"/var/log/apache2/access_log \ |
30 | 26 |
--without-adns \ |
31 | 27 |
$(use_with fam) \ |
32 |
$(use_with pcre) |
|
28 |
$(use_with pcre pcre2) |
|
33 | 29 |
} |