commit: 33beb24f2049b168500ae3e948454f2d2791f794 Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org> AuthorDate: Fri Nov 5 19:06:53 2021 +0000 Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org> CommitDate: Sat Nov 6 20:32:56 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=33beb24f
x11-misc/lsw: Port to EAPI 8 Closes: https://bugs.gentoo.org/819162 Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org> x11-misc/lsw/lsw-0.3.ebuild | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/x11-misc/lsw/lsw-0.3.ebuild b/x11-misc/lsw/lsw-0.3.ebuild index 8d3f6260301..dc08e72ece8 100644 --- a/x11-misc/lsw/lsw-0.3.ebuild +++ b/x11-misc/lsw/lsw-0.3.ebuild @@ -1,7 +1,8 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=8 + inherit toolchain-funcs DESCRIPTION="list window names" @@ -17,6 +18,8 @@ DEPEND="${RDEPEND} x11-base/xorg-proto" src_prepare() { + default + sed -i config.mk \ -e '/^CC/d' \ -e '/^CFLAGS/{s| -Os||;s|=|+=|}' \ @@ -28,7 +31,7 @@ src_prepare() { } src_compile() { - emake CC=$(tc-getCC) + emake CC="$(tc-getCC)" } src_install() {
