net-dns/odsclient: bump EAPI and drop eutils
authorAaron Bauman <bman@gentoo.org>
Sat, 26 May 2018 00:19:55 +0000 (20:19 -0400)
committerAaron Bauman <bman@gentoo.org>
Sat, 26 May 2018 02:05:00 +0000 (22:05 -0400)
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Closes: https://github.com/gentoo/gentoo/pull/8591

net-dns/odsclient/odsclient-1.03-r1.ebuild

index d679353f72466b7cbab8ba62eed7966df50d6e1e..bf24d233dae6ca2895f2ff29cd96f0cfed2a4a0e 100644 (file)
@@ -1,9 +1,9 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="2"
+EAPI=6
 
-inherit eutils toolchain-funcs
+inherit toolchain-funcs
 
 DESCRIPTION="Client for the Open Domain Server's dynamic dns"
 HOMEPAGE="http://www.ods.org/"
@@ -14,10 +14,11 @@ SLOT="0"
 KEYWORDS="~amd64 x86"
 IUSE=""
 
+PATCHES=( "${FILESDIR}/${PV}-gentoo.patch" )
+
 src_prepare() {
+       default
        sed -i Makefile -e 's| -o | $(LDFLAGS)&|g' || die "sed failed"
-
-       epatch "${FILESDIR}"/${PV}-gentoo.patch
 }
 
 src_compile() {
@@ -30,5 +31,4 @@ src_compile() {
 
 src_install() {
        dosbin odsclient
-       dodoc README
 }