summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-12-04 18:37:51 +0000
committerSam James <sam@gentoo.org>2021-12-04 18:37:51 +0000
commit6279269dc06a9c8264b814e6ee93988a2d746833 (patch)
tree7187d799d4ef230842a485bb3dcc950fff973482 /sys-libs
parentsys-libs/libucontext: initial import (diff)
downloadgentoo-6279269dc06a9c8264b814e6ee93988a2d746833.tar.gz
gentoo-6279269dc06a9c8264b814e6ee93988a2d746833.tar.bz2
gentoo-6279269dc06a9c8264b814e6ee93988a2d746833.zip
sys-libs/libucontext: update EAPI 7 -> 8
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-libs')
-rw-r--r--sys-libs/libucontext/libucontext-1.1.ebuild10
1 files 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')
}