Diff indent-2.2.12 with a indent-2.2.13
/usr/portage/dev-util/indent/indent-2.2.13.ebuild 2023-10-09 14:52:30.972368387 +0300 | ||
---|---|---|
1 |
# Copyright 1999-2022 Gentoo Authors |
|
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 |
inherit autotools strip-linguas |
7 | 7 | |
... | ... | |
14 | 14 |
KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos" |
15 | 15 |
IUSE="nls" |
16 | 16 | |
17 |
BDEPEND="app-text/texi2html |
|
18 |
nls? ( sys-devel/gettext )" |
|
17 |
BDEPEND=" |
|
18 |
app-text/texi2html |
|
19 |
nls? ( sys-devel/gettext ) |
|
20 |
" |
|
19 | 21 |
DEPEND="nls? ( virtual/libintl )" |
20 | 22 |
RDEPEND="${DEPEND}" |
21 | 23 | |
... | ... | |
29 | 31 |
src_configure() { |
30 | 32 |
strip-linguas -i po/ |
31 | 33 | |
32 |
if use nls; then |
|
33 |
gl_cv_cc_vis_werror=no \ |
|
34 |
econf $(use_enable nls) |
|
35 |
else |
|
36 |
ac_cv_func_setlocale=no \ |
|
37 |
gl_cv_cc_vis_werror=no \ |
|
38 |
econf $(use_enable nls) |
|
39 |
fi |
|
40 |
} |
|
34 |
export gl_cv_cc_vis_werror=no |
|
35 |
export ac_cv_func_setlocale=$(usex nls) |
|
41 | 36 | |
42 |
src_test() { |
|
43 |
emake -C regression/ |
|
37 |
econf $(use_enable nls) |
|
44 | 38 |
} |
45 | 39 | |
46 |
src_install() { |
|
47 |
# htmldir as set in configure is ignored in doc/Makefile* |
|
48 |
emake DESTDIR="${D}" htmldir="${EPREFIX}/usr/share/doc/${PF}/html" install |
|
49 |
dodoc AUTHORS NEWS README.md ChangeLog{,-1990,-1998,-2001} |
|
40 |
src_test() { |
|
41 |
emake -C regression |
|
50 | 42 |
} |