Сравнение the_silver_searcher-2.2.0 с the_silver_searcher-2.2.0_p20201217-r1
/usr/portage/sys-apps/the_silver_searcher/the_silver_searcher-2.2.0_p20201217-r1.ebuild 2023-10-09 14:52:35.412368499 +0300 | ||
---|---|---|
1 |
# Copyright 1999-2021 Gentoo Authors |
|
1 |
# Copyright 1999-2023 Gentoo Authors |
|
2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
3 | 3 | |
4 | 4 |
EAPI=7 |
5 |
inherit autotools bash-completion-r1 |
|
5 |
inherit autotools bash-completion-r1 flag-o-matic vcs-snapshot |
|
6 | ||
7 |
COMMIT="a61f1780b64266587e7bc30f0f5f71c6cca97c0f" |
|
6 | 8 | |
7 | 9 |
DESCRIPTION="A code-searching tool similar to ack, but faster" |
8 | 10 |
HOMEPAGE="https://github.com/ggreer/the_silver_searcher" |
9 |
SRC_URI="https://github.com/ggreer/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
|
11 |
SRC_URI="https://github.com/ggreer/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" |
|
10 | 12 | |
11 | 13 |
LICENSE="Apache-2.0" |
12 | 14 |
SLOT="0" |
13 |
KEYWORDS="amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 x86 ~amd64-linux" |
|
15 |
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux ~x64-macos" |
|
14 | 16 |
IUSE="lzma test zlib" |
15 | 17 |
RESTRICT="!test? ( test )" |
16 | 18 | |
... | ... | |
28 | 30 | |
29 | 31 |
PATCHES=( |
30 | 32 |
"${FILESDIR}"/${PN}-2.1.0-lzma.patch |
31 |
"${FILESDIR}"/${PN}-fno-common.patch |
|
32 | 33 |
) |
33 | 34 | |
34 | 35 |
src_prepare() { |
... | ... | |
39 | 40 |
} |
40 | 41 | |
41 | 42 |
src_configure() { |
43 |
# false positive TEXTRELs on riscv |
|
44 |
# https://bugs.gentoo.org/797355 |
|
45 |
append-flags -fPIC |
|
46 | ||
42 | 47 |
econf \ |
43 | 48 |
$(use_enable lzma) \ |
44 | 49 |
$(use_enable zlib) |