net-misc/taptap: bump EAPI
authorAaron Bauman <bman@gentoo.org>
Mon, 28 May 2018 16:17:25 +0000 (12:17 -0400)
committerAaron Bauman <bman@gentoo.org>
Mon, 28 May 2018 23:01:57 +0000 (19:01 -0400)
Package-Manager: Portage-2.3.40, Repoman-2.3.9

net-misc/taptap/taptap-1.0.ebuild

index 414b9b373c9f973cda33275d062ab9def8b2d3b2..f95f52794ab534f90547e28a36e2f472b4a5750b 100644 (file)
@@ -1,7 +1,7 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=2
+EAPI=6
 inherit toolchain-funcs
 
 DESCRIPTION="A program to link two /dev/net/tun to form virtual ethernet"
@@ -16,6 +16,7 @@ IUSE=""
 S=${WORKDIR}/${PN}
 
 src_prepare() {
+       default
        sed -i \
                -e 's:= -Wall -s:+= -Wall:' \
                -e 's:$(CFLAGS):$(LDFLAGS) &:' \
@@ -23,9 +24,5 @@ src_prepare() {
 }
 
 src_compile() {
-       emake CC="$(tc-getCC)" || die
-}
-
-src_install() {
-       emake DESTDIR="${D}" install || die
+       emake CC="$(tc-getCC)"
 }