Diff diffutils-3.9 with a diffutils-3.9-r1
/usr/portage/sys-apps/diffutils/diffutils-3.9-r1.ebuild 2023-10-09 14:52:35.364368498 +0300 | ||
---|---|---|
4 | 4 |
EAPI=8 |
5 | 5 | |
6 | 6 |
VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/diffutils.asc |
7 |
inherit flag-o-matic verify-sig |
|
7 |
inherit verify-sig |
|
8 | 8 | |
9 | 9 |
DESCRIPTION="Tools to make diffs and compare files" |
10 | 10 |
HOMEPAGE="https://www.gnu.org/software/diffutils/" |
... | ... | |
20 | 20 |
else |
21 | 21 |
SRC_URI="mirror://gnu/${PN}/${P}.tar.xz" |
22 | 22 |
SRC_URI+=" verify-sig? ( mirror://gnu/${PN}/${P}.tar.xz.sig )" |
23 |
KEYWORDS="~alpha ~amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" |
|
23 |
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" |
|
24 | 24 |
fi |
25 | 25 | |
26 | 26 |
LICENSE="GPL-2" |
27 | 27 |
SLOT="0" |
28 |
IUSE="nls static" |
|
28 |
IUSE="nls" |
|
29 | 29 | |
30 | 30 |
BDEPEND=" |
31 | 31 |
nls? ( sys-devel/gettext ) |
... | ... | |
34 | 34 | |
35 | 35 |
PATCHES=( |
36 | 36 |
"${FILESDIR}"/${P}-make-4.4-test-color.patch |
37 |
"${FILESDIR}"/${P}-diff-D-option-regression.patch |
|
37 | 38 |
) |
38 | 39 | |
39 |
src_configure() { |
|
40 |
use static && append-ldflags -static |
|
40 |
src_prepare() { |
|
41 |
default |
|
42 | ||
43 |
# Needed because of ${P}-diff-D-option-regression.patch |
|
44 |
touch man/diff.1 || die |
|
45 |
} |
|
41 | 46 | |
47 |
src_configure() { |
|
42 | 48 |
# Disable automagic dependency over libsigsegv; see bug #312351. |
43 | 49 |
export ac_cv_libsigsegv=no |
44 | 50 |