1 |
commit: 6279269dc06a9c8264b814e6ee93988a2d746833 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Dec 4 18:37:51 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Dec 4 18:37:51 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6279269d |
7 |
|
8 |
sys-libs/libucontext: update EAPI 7 -> 8 |
9 |
|
10 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
11 |
|
12 |
sys-libs/libucontext/libucontext-1.1.ebuild | 10 +++------- |
13 |
1 file changed, 3 insertions(+), 7 deletions(-) |
14 |
|
15 |
diff --git a/sys-libs/libucontext/libucontext-1.1.ebuild b/sys-libs/libucontext/libucontext-1.1.ebuild |
16 |
index c74a08255a21..306709222308 100644 |
17 |
--- a/sys-libs/libucontext/libucontext-1.1.ebuild |
18 |
+++ b/sys-libs/libucontext/libucontext-1.1.ebuild |
19 |
@@ -1,7 +1,7 @@ |
20 |
# Copyright 1999-2021 Gentoo Authors |
21 |
# Distributed under the terms of the GNU General Public License v2 |
22 |
|
23 |
-EAPI=7 |
24 |
+EAPI=8 |
25 |
|
26 |
inherit toolchain-funcs |
27 |
|
28 |
@@ -23,7 +23,7 @@ RESTRICT="test" |
29 |
src_compile() { |
30 |
tc-export AR CC |
31 |
|
32 |
- emake CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" |
33 |
+ emake CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" all $(usev man 'docs') |
34 |
} |
35 |
|
36 |
src_test() { |
37 |
@@ -31,9 +31,5 @@ src_test() { |
38 |
} |
39 |
|
40 |
src_install() { |
41 |
- emake DESTDIR="${ED}" LIBDIR="/usr/$(get_libdir)" install |
42 |
- |
43 |
- if use man ; then |
44 |
- emake DESTDIR="${ED}" LIBDIR="/usr/$(get_libdir)" install_docs |
45 |
- fi |
46 |
+ emake DESTDIR="${ED}" LIBDIR="/usr/$(get_libdir)" install $(usev man 'install_docs') |
47 |
} |