diff options
author | Sam James <sam@gentoo.org> | 2022-02-07 10:41:58 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-02-07 10:42:10 +0000 |
commit | 34e503b92d5259cb2ac9075d06a24ff2f0e01f26 (patch) | |
tree | 199f53bbfcefff7a5d83190d1234cf1ebe8b194e /sys-libs/libucontext | |
parent | sci-mathematics/polymake: Stabilize 4.6 amd64, #832376 (diff) | |
download | gentoo-34e503b92d5259cb2ac9075d06a24ff2f0e01f26.tar.gz gentoo-34e503b92d5259cb2ac9075d06a24ff2f0e01f26.tar.bz2 gentoo-34e503b92d5259cb2ac9075d06a24ff2f0e01f26.zip |
sys-libs/libucontext: use consistent emake arguments
Should be no functional change.
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-libs/libucontext')
-rw-r--r-- | sys-libs/libucontext/libucontext-1.1-r1.ebuild | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/sys-libs/libucontext/libucontext-1.1-r1.ebuild b/sys-libs/libucontext/libucontext-1.1-r1.ebuild index cf76cfa1a756..7ec73298a79c 100644 --- a/sys-libs/libucontext/libucontext-1.1-r1.ebuild +++ b/sys-libs/libucontext/libucontext-1.1-r1.ebuild @@ -27,7 +27,7 @@ PATCHES=( src_compile() { tc-export AR CC - local arch + arch= # Override arch detection # https://github.com/kaniini/libucontext/blob/master/Makefile#L3 @@ -43,13 +43,25 @@ src_compile() { arch="$(uname -m)" fi - emake ARCH="${arch}" LDFLAGS="${LDFLAGS}" all $(usev man 'docs') + emake \ + ARCH="${arch}" \ + LDFLAGS="${LDFLAGS}" \ + LIBDIR="/usr/$(get_libdir)" \ + all $(usev man 'docs') } src_test() { - emake LDFLAGS="${LDFLAGS}" check + emake \ + ARCH="${arch}" \ + LDFLAGS="${LDFLAGS}" \ + LIBDIR="/usr/$(get_libdir)" \ + check } src_install() { - emake DESTDIR="${ED}" LIBDIR="/usr/$(get_libdir)" install $(usev man 'install_docs') + emake \ + ARCH="${arch}" \ + DESTDIR="${ED}" \ + LIBDIR="/usr/$(get_libdir)" \ + install $(usev man 'install_docs') } |