diff options
Diffstat (limited to 'app-misc')
-rw-r--r-- | app-misc/tprint/tprint-1.1.0-r1.ebuild | 9 |
1 files 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 b473dcc73077..fc7e22cc6f76 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() { |