Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/chmlib/
Date: Mon, 29 Jun 2020 06:29:20
Message-Id: 1593412150.21044ff0e95adb9c2b5e7eb18711c058f2905003.polynomial-c@gentoo
1 commit: 21044ff0e95adb9c2b5e7eb18711c058f2905003
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jun 29 06:28:07 2020 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Mon Jun 29 06:29:10 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=21044ff0
7
8 dev-libs/chmlib: switched to EAPI-7
9
10 Package-Manager: Portage-2.3.103, Repoman-2.3.23
11 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
12
13 dev-libs/chmlib/chmlib-0.40-r1.ebuild | 11 +++++++----
14 1 file changed, 7 insertions(+), 4 deletions(-)
15
16 diff --git a/dev-libs/chmlib/chmlib-0.40-r1.ebuild b/dev-libs/chmlib/chmlib-0.40-r1.ebuild
17 index 7b60e53d0f7..957e5d88bca 100644
18 --- a/dev-libs/chmlib/chmlib-0.40-r1.ebuild
19 +++ b/dev-libs/chmlib/chmlib-0.40-r1.ebuild
20 @@ -1,7 +1,7 @@
21 # Copyright 1999-2020 Gentoo Authors
22 # Distributed under the terms of the GNU General Public License v2
23
24 -EAPI=6
25 +EAPI=7
26
27 inherit autotools out-of-source
28
29 @@ -21,16 +21,19 @@ PATCHES=(
30
31 src_prepare() {
32 default
33 + # Required for CONFIG_SHELL != bash (bug #668408)
34 eautoreconf
35 }
36
37 my_src_configure() {
38 - econf \
39 - $(use_enable examples) \
40 + local myeconfargs=(
41 + $(use_enable examples)
42 $(use_enable static-libs static)
43 + )
44 + econf "${myeconfargs[@]}"
45 }
46
47 my_src_install_all() {
48 einstalldocs
49 - find "${D}" -name '*.la' -delete || die
50 + find "${ED}" -type f -name '*.la' -delete || die
51 }