commit:     34148da3443371f23d80696158600791312df4a7
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Apr  3 21:39:20 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Apr  3 21:39:20 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34148da3

app-misc/tprint: port to EAPI 7

Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-misc/tprint/tprint-1.1.0-r1.ebuild | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/app-misc/tprint/tprint-1.1.0-r1.ebuild 
b/app-misc/tprint/tprint-1.1.0-r1.ebuild
index b473dcc7307..fc7e22cc6f7 100644
--- a/app-misc/tprint/tprint-1.1.0-r1.ebuild
+++ b/app-misc/tprint/tprint-1.1.0-r1.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
+EAPI=7
 
 inherit toolchain-funcs
 
@@ -12,9 +12,10 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~ppc ~x86"
-IUSE=""
 
 src_prepare() {
+       default
+
        sed -i Makefile \
                -e 's:cc:$(CC):g' \
                -e 's:-g -O2:$(CFLAGS) $(LDFLAGS):g' \
@@ -22,7 +23,7 @@ src_prepare() {
 }
 
 src_compile() {
-       emake CC=$(tc-getCC)
+       emake CC="$(tc-getCC)"
 }
 
 src_install() {

Reply via email to