commit:     6279269dc06a9c8264b814e6ee93988a2d746833
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Dec  4 18:37:51 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Dec  4 18:37:51 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6279269d

sys-libs/libucontext: update EAPI 7 -> 8

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

 sys-libs/libucontext/libucontext-1.1.ebuild | 10 +++-------
 1 file changed, 3 insertions(+), 7 deletions(-)

diff --git a/sys-libs/libucontext/libucontext-1.1.ebuild 
b/sys-libs/libucontext/libucontext-1.1.ebuild
index c74a08255a21..306709222308 100644
--- a/sys-libs/libucontext/libucontext-1.1.ebuild
+++ b/sys-libs/libucontext/libucontext-1.1.ebuild
@@ -1,7 +1,7 @@
 # Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
 inherit toolchain-funcs
 
@@ -23,7 +23,7 @@ RESTRICT="test"
 src_compile() {
        tc-export AR CC
 
-       emake CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
+       emake CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" all $(usev man 'docs')
 }
 
 src_test() {
@@ -31,9 +31,5 @@ src_test() {
 }
 
 src_install() {
-       emake DESTDIR="${ED}" LIBDIR="/usr/$(get_libdir)" install
-
-       if use man ; then
-               emake DESTDIR="${ED}" LIBDIR="/usr/$(get_libdir)" install_docs
-       fi
+       emake DESTDIR="${ED}" LIBDIR="/usr/$(get_libdir)" install $(usev man 
'install_docs')
 }

Reply via email to