commit:     7c2d040e4162aa8f93a699e0e8cb9494344314b3
Author:     Wim Muskee <wimmuskee <AT> gmail <DOT> com>
AuthorDate: Thu Dec 29 18:49:34 2016 +0000
Commit:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Tue Jan  3 23:10:07 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c2d040e

net-misc/ethercard-diag: EAPI 6 bump.

Closes: https://github.com/gentoo/gentoo/pull/3271

 net-misc/ethercard-diag/ethercard-diag-20050321.1g-r1.ebuild | 5 +++--
 net-misc/ethercard-diag/ethercard-diag-20050321.1g.ebuild    | 8 +++++---
 2 files changed, 8 insertions(+), 5 deletions(-)

diff --git a/net-misc/ethercard-diag/ethercard-diag-20050321.1g-r1.ebuild 
b/net-misc/ethercard-diag/ethercard-diag-20050321.1g-r1.ebuild
index 91437c7..4debc7d 100644
--- a/net-misc/ethercard-diag/ethercard-diag-20050321.1g-r1.ebuild
+++ b/net-misc/ethercard-diag/ethercard-diag-20050321.1g-r1.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI="5"
+EAPI="6"
 
 inherit toolchain-funcs
 
@@ -18,6 +18,7 @@ IUSE=""
 RDEPEND="!sys-apps/nictools"
 
 src_prepare() {
+       default
        # Since the binary is `ether-wake`, make sure the man page is
        # `man ether-wake` and not `man etherwake`. #439504
        sed -i \
@@ -29,5 +30,5 @@ src_prepare() {
 
 src_compile() {
        tc-export CC AR
-       emake
+       default
 }

diff --git a/net-misc/ethercard-diag/ethercard-diag-20050321.1g.ebuild 
b/net-misc/ethercard-diag/ethercard-diag-20050321.1g.ebuild
index c9013e3..06a4304 100644
--- a/net-misc/ethercard-diag/ethercard-diag-20050321.1g.ebuild
+++ b/net-misc/ethercard-diag/ethercard-diag-20050321.1g.ebuild
@@ -2,6 +2,8 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
+EAPI="6"
+
 inherit toolchain-funcs
 
 DESCRIPTION="low level mii diagnostic tools including mii-diag and etherwake 
(merge of netdiag/isa-diag)"
@@ -17,11 +19,11 @@ DEPEND="!sys-apps/nictools"
 
 src_compile() {
        tc-export CC AR
-       emake || die
+       default
 }
 
 src_install() {
-       emake DESTDIR="${D}" install || die
+       default
        dodir /sbin
-       mv "${D}"/usr/sbin/{mii-diag,ether-wake} "${D}"/sbin/ || die
+       mv "${ED%/}"/usr/sbin/{mii-diag,ether-wake} "${ED%/}"/sbin/ || die
 }

Reply via email to