net-misc/ethercard-diag: EAPI 6 bump.
authorWim Muskee <wimmuskee@gmail.com>
Thu, 29 Dec 2016 18:49:34 +0000 (19:49 +0100)
committerPatrice Clement <monsieurp@gentoo.org>
Tue, 3 Jan 2017 23:10:07 +0000 (00:10 +0100)
Closes: https://github.com/gentoo/gentoo/pull/3271

net-misc/ethercard-diag/ethercard-diag-20050321.1g-r1.ebuild
net-misc/ethercard-diag/ethercard-diag-20050321.1g.ebuild

index 91437c74edb9016b8adbef9d485723fd84b623ac..4debc7d816befee701c2e897ab69faee4bd78379 100644 (file)
@@ -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
 }
index c9013e391d21ea634fe2b889e7d88bfddd2eca66..06a430452f76a3296b898f9882d6d1b1ac470b4e 100644 (file)
@@ -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
 }