commit:     edeafcdb8a9e36e5bd8b0f70656749e828b9b438
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 29 19:21:27 2017 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Fri Dec 29 22:32:02 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=edeafcdb

app-admin/xtail: Port to EAPI 6

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 app-admin/xtail/xtail-2.1-r1.ebuild | 26 ++++++++++++++------------
 1 file changed, 14 insertions(+), 12 deletions(-)

diff --git a/app-admin/xtail/xtail-2.1-r1.ebuild 
b/app-admin/xtail/xtail-2.1-r1.ebuild
index 9506b3e7e06..9f010062d31 100644
--- a/app-admin/xtail/xtail-2.1-r1.ebuild
+++ b/app-admin/xtail/xtail-2.1-r1.ebuild
@@ -1,30 +1,32 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=4
+EAPI=6
 
-inherit eutils toolchain-funcs
+inherit toolchain-funcs
 
 DESCRIPTION="Tail multiple logfiles at once, even if rotated"
 HOMEPAGE="http://www.unicom.com/sw/xtail/";
-SRC_URI="http://www.unicom.com/sw/xtail/${P}.tar.gz
+SRC_URI="
+       http://www.unicom.com/sw/xtail/${P}.tar.gz
        http://www.unicom.com/files/20120219-patch-aalto.zip";
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="amd64 ppc ~sparc x86"
+KEYWORDS="amd64 ppc sparc x86"
 IUSE=""
+
 DEPEND="app-arch/unzip"
 
-src_prepare() {
-       epatch ../0001-Use-ISO8601-Fix-Gcc-header-Use-C-c.patch
-       epatch ../0001-xtail.1-remove-SIGQUIT.patch
-       epatch ../xtail_2.1-5-debian-local-changes.patch
-}
+PATCHES=(
+       "${WORKDIR}"/0001-Use-ISO8601-Fix-Gcc-header-Use-C-c.patch
+       "${WORKDIR}"/0001-xtail.1-remove-SIGQUIT.patch
+       "${WORKDIR}"/xtail_2.1-5-debian-local-changes.patch
+)
 
-src_compile() {
+src_configure() {
        tc-export CC
-       emake
+       default
 }
 
 src_install() {

Reply via email to