Gentoo Archives: gentoo-commits

From: Fabian Groffen <grobian@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-process/unixtop/
Date: Fri, 14 Apr 2017 07:36:14
Message-Id: 1492155357.898508cae55771dd611ff9e883611a905c27f301.grobian@gentoo
1 commit: 898508cae55771dd611ff9e883611a905c27f301
2 Author: Fabian Groffen <grobian <AT> gentoo <DOT> org>
3 AuthorDate: Fri Apr 14 07:35:57 2017 +0000
4 Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org>
5 CommitDate: Fri Apr 14 07:35:57 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=898508ca
7
8 sys-process/unixtop: bump from EAPI=0 to EAPI=6
9
10 Package-Manager: Portage-2.3.3, Repoman-2.3.1
11
12 sys-process/unixtop/unixtop-3.8_beta1-r3.ebuild | 19 +++++++------------
13 1 file changed, 7 insertions(+), 12 deletions(-)
14
15 diff --git a/sys-process/unixtop/unixtop-3.8_beta1-r3.ebuild b/sys-process/unixtop/unixtop-3.8_beta1-r3.ebuild
16 index 38bfa90fe46..d32e3863a6f 100644
17 --- a/sys-process/unixtop/unixtop-3.8_beta1-r3.ebuild
18 +++ b/sys-process/unixtop/unixtop-3.8_beta1-r3.ebuild
19 @@ -1,6 +1,8 @@
20 -# Copyright 1999-2014 Gentoo Foundation
21 +# Copyright 1999-2017 Gentoo Foundation
22 # Distributed under the terms of the GNU General Public License v2
23
24 +EAPI=6
25 +
26 inherit eutils autotools
27
28 DESCRIPTION="top for UNIX systems"
29 @@ -17,19 +19,18 @@ DEPEND="${RDEPEND}"
30
31 S=${WORKDIR}/top-${PV/_/}
32
33 -src_unpack() {
34 - unpack ${A}
35 - cd "${S}"
36 +src_prepare() {
37 epatch "${FILESDIR}"/${P}-ncurses.patch
38 epatch "${FILESDIR}"/${P}-no-AX-macros.patch
39 epatch "${FILESDIR}"/${P}-renice-segfault.patch
40 epatch "${FILESDIR}"/${P}-memleak-fix-v2.patch
41 epatch "${FILESDIR}"/${P}-high-threadid-crash.patch
42 epatch "${FILESDIR}"/${P}-percent-cpu.patch
43 + eapply_user
44 eautoreconf
45 }
46
47 -src_compile() {
48 +src_configure() {
49 local myconf=
50
51 # don't do bi-arch cruft on hosts that support that, such as Solaris
52 @@ -38,11 +39,5 @@ src_compile() {
53 # configure demands an override because on OSX this is "experimental"
54 [[ ${CHOST} == *-darwin* ]] && myconf="${myconf} --with-module=macosx"
55
56 - econf ${myconf} || die
57 - emake || die
58 -}
59 -
60 -src_install() {
61 - emake DESTDIR="${D}" install
62 - dodoc README FAQ Y2K
63 + econf ${myconf}
64 }