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