Gentoo Archives: gentoo-commits

From: Yixun Lan <dlan@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-fs/autofs/
Date: Tue, 30 Jan 2018 14:11:15
Message-Id: 1517321456.2ade32304a5da38f31b76ff753eb90c5f9dd91eb.dlan@gentoo
1 commit: 2ade32304a5da38f31b76ff753eb90c5f9dd91eb
2 Author: Yixun Lan <dlan <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jan 30 14:01:18 2018 +0000
4 Commit: Yixun Lan <dlan <AT> gentoo <DOT> org>
5 CommitDate: Tue Jan 30 14:10:56 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ade3230
7
8 net-fs/autofs: drop autotools-utils & update to EAPI=6
9
10 Package-Manager: Portage-2.3.19, Repoman-2.3.6
11
12 net-fs/autofs/autofs-5.1.3.ebuild | 19 ++++++-------------
13 1 file changed, 6 insertions(+), 13 deletions(-)
14
15 diff --git a/net-fs/autofs/autofs-5.1.3.ebuild b/net-fs/autofs/autofs-5.1.3.ebuild
16 index 7badfc02a03..c09dd3334e1 100644
17 --- a/net-fs/autofs/autofs-5.1.3.ebuild
18 +++ b/net-fs/autofs/autofs-5.1.3.ebuild
19 @@ -1,12 +1,9 @@
20 # Copyright 1999-2018 Gentoo Foundation
21 # Distributed under the terms of the GNU General Public License v2
22
23 -EAPI=5
24 +EAPI=6
25
26 -AUTOTOOLS_AUTORECONF=true
27 -AUTOTOOLS_IN_SOURCE_BUILD=true
28 -
29 -inherit autotools-utils linux-info multilib systemd toolchain-funcs
30 +inherit linux-info multilib systemd toolchain-funcs
31
32 PATCH_VER=
33 [[ -n ${PATCH_VER} ]] && \
34 @@ -56,7 +53,7 @@ src_prepare() {
35 fi
36
37 sed -i -e "s:/usr/bin/kill:/bin/kill:" samples/autofs.service.in || die #bug #479492
38 - autotools-utils_src_prepare
39 + default
40 }
41
42 src_configure() {
43 @@ -77,18 +74,14 @@ src_configure() {
44 --enable-sloppy-mount # bug #453778
45 --enable-force-shutdown
46 --enable-ignore-busy
47 - --with-systemd="$(systemd_get_unitdir)" #bug #479492
48 + --with-systemd="$(systemd_get_systemunitdir)" #bug #479492
49 RANLIB="$(type -P $(tc-getRANLIB))" # bug #483716
50 )
51 - autotools-utils_src_configure
52 -}
53 -
54 -src_compile() {
55 - autotools-utils_src_compile DONTSTRIP=1
56 + econf "${myeconfargs[@]}"
57 }
58
59 src_install() {
60 - autotools-utils_src_install
61 + default
62
63 if kernel_is -lt 2 6 30; then
64 # kernel patches