dev-vcs/gti: EAPI 7
authorJohannes Huber <johu@gentoo.org>
Sun, 20 May 2018 13:24:12 +0000 (15:24 +0200)
committerJohannes Huber <johu@gentoo.org>
Sun, 20 May 2018 13:24:12 +0000 (15:24 +0200)
Package-Manager: Portage-2.3.38, Repoman-2.3.9

dev-vcs/gti/gti-9999.ebuild

index e3a1a7c80dab36d5cc8940499214b343627f9b92..5ab71a691c09b3a9f927036659f95886f39073ae 100644 (file)
@@ -1,7 +1,7 @@
 # Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=4
+EAPI=7
 
 EGIT_REPO_URI="https://github.com/rwos/${PN}.git"
 inherit git-r3
@@ -20,13 +20,14 @@ DEPEND="dev-vcs/git"
 RDEPEND="${DEPEND}"
 
 src_prepare() {
+       default
        # fix the makefile
        sed -i \
                -e "s:CC=:CC?=:g" \
                -e "s:CFLAGS=:CFLAGS?=:g" \
-               -e "/-strip/d" \
+               -e "/-\$(STRIP)/d" \
                -e 's:$(CC):$(CC) $(LDFLAGS):' \
-               Makefile
+               Makefile || die
 }
 
 src_install() {