public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-libs/libucontext/
Date: Mon,  7 Feb 2022 10:42:17 +0000 (UTC)	[thread overview]
Message-ID: <1644230530.34e503b92d5259cb2ac9075d06a24ff2f0e01f26.sam@gentoo> (raw)

commit:     34e503b92d5259cb2ac9075d06a24ff2f0e01f26
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Feb  7 10:41:58 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Feb  7 10:42:10 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34e503b9

sys-libs/libucontext: use consistent emake arguments

Should be no functional change.

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

 sys-libs/libucontext/libucontext-1.1-r1.ebuild | 20 ++++++++++++++++----
 1 file 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')
 }


             reply	other threads:[~2022-02-07 10:42 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-07 10:42 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-08-14 23:34 [gentoo-commits] repo/gentoo:master commit in: sys-libs/libucontext/ Sam James
2024-08-14 23:29 Sam James
2022-10-17 17:28 Arthur Zamarin
2022-10-17 17:28 Arthur Zamarin
2022-10-17 17:28 Arthur Zamarin
2022-10-08 16:54 Sam James
2022-09-25  6:30 Arthur Zamarin
2022-06-02  3:36 Sam James
2022-05-05  1:57 Sam James
2021-12-04 20:42 Sam James
2021-12-04 19:39 Sam James
2021-12-04 18:38 Sam James
2021-12-04 18:34 Sam James

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1644230530.34e503b92d5259cb2ac9075d06a24ff2f0e01f26.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox