From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 54FDE139694 for ; Fri, 14 Apr 2017 07:36:14 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3C709E0C09; Fri, 14 Apr 2017 07:36:11 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 17A5BE0C09 for ; Fri, 14 Apr 2017 07:36:11 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id CCEA533E4AD for ; Fri, 14 Apr 2017 07:36:09 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4545A7427 for ; Fri, 14 Apr 2017 07:36:08 +0000 (UTC) From: "Fabian Groffen" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Fabian Groffen" Message-ID: <1492155357.898508cae55771dd611ff9e883611a905c27f301.grobian@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-process/unixtop/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-process/unixtop/unixtop-3.8_beta1-r3.ebuild X-VCS-Directories: sys-process/unixtop/ X-VCS-Committer: grobian X-VCS-Committer-Name: Fabian Groffen X-VCS-Revision: 898508cae55771dd611ff9e883611a905c27f301 X-VCS-Branch: master Date: Fri, 14 Apr 2017 07:36:08 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: e5110826-ed04-4a16-9668-7b7c12a9c9b2 X-Archives-Hash: 7b940237e86e633c313a729d6fb9734c commit: 898508cae55771dd611ff9e883611a905c27f301 Author: Fabian Groffen gentoo org> AuthorDate: Fri Apr 14 07:35:57 2017 +0000 Commit: Fabian Groffen gentoo org> CommitDate: Fri Apr 14 07:35:57 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=898508ca sys-process/unixtop: bump from EAPI=0 to EAPI=6 Package-Manager: Portage-2.3.3, Repoman-2.3.1 sys-process/unixtop/unixtop-3.8_beta1-r3.ebuild | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) diff --git a/sys-process/unixtop/unixtop-3.8_beta1-r3.ebuild b/sys-process/unixtop/unixtop-3.8_beta1-r3.ebuild index 38bfa90fe46..d32e3863a6f 100644 --- a/sys-process/unixtop/unixtop-3.8_beta1-r3.ebuild +++ b/sys-process/unixtop/unixtop-3.8_beta1-r3.ebuild @@ -1,6 +1,8 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 +EAPI=6 + inherit eutils autotools DESCRIPTION="top for UNIX systems" @@ -17,19 +19,18 @@ DEPEND="${RDEPEND}" S=${WORKDIR}/top-${PV/_/} -src_unpack() { - unpack ${A} - cd "${S}" +src_prepare() { epatch "${FILESDIR}"/${P}-ncurses.patch epatch "${FILESDIR}"/${P}-no-AX-macros.patch epatch "${FILESDIR}"/${P}-renice-segfault.patch epatch "${FILESDIR}"/${P}-memleak-fix-v2.patch epatch "${FILESDIR}"/${P}-high-threadid-crash.patch epatch "${FILESDIR}"/${P}-percent-cpu.patch + eapply_user eautoreconf } -src_compile() { +src_configure() { local myconf= # don't do bi-arch cruft on hosts that support that, such as Solaris @@ -38,11 +39,5 @@ src_compile() { # configure demands an override because on OSX this is "experimental" [[ ${CHOST} == *-darwin* ]] && myconf="${myconf} --with-module=macosx" - econf ${myconf} || die - emake || die -} - -src_install() { - emake DESTDIR="${D}" install - dodoc README FAQ Y2K + econf ${myconf} }