Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 732114
Collapse All | Expand All

(-)a/sys-apps/diffutils/diffutils-3.7-r1.ebuild (-1 / +43 lines)
Line 0 Link Here
0
- 
1
# Copyright 1999-2020 Gentoo Authors
2
# Distributed under the terms of the GNU General Public License v2
3
4
EAPI=7
5
6
inherit flag-o-matic
7
8
DESCRIPTION="Tools to make diffs and compare files"
9
HOMEPAGE="https://www.gnu.org/software/diffutils/"
10
SRC_URI="mirror://gnu/diffutils/${P}.tar.xz
11
	mirror://gnu-alpha/diffutils/${P}.tar.xz"
12
13
LICENSE="GPL-2"
14
SLOT="0"
15
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
16
IUSE="nls static"
17
18
BDEPEND="nls? ( sys-devel/gettext )"
19
20
DOCS=( AUTHORS ChangeLog NEWS README THANKS TODO )
21
22
src_configure() {
23
	use static && append-ldflags -static
24
25
	# Disable automagic dependency over libsigsegv; see bug #312351.
26
	export ac_cv_libsigsegv=no
27
28
	# required for >=glibc-2.26, bug #653914
29
	use elibc_glibc && export gl_cv_func_getopt_gnu=yes
30
31
	local myeconfargs=(
32
		--with-packager="Gentoo"
33
		--with-packager-version="${PVR}"
34
		--with-packager-bug-reports="https://bugs.gentoo.org/"
35
		$(use_enable nls)
36
	)
37
	econf "${myeconfargs[@]}"
38
}
39
40
src_test() {
41
	# explicitly allow parallel testing
42
	emake check
43
}

Return to bug 732114