public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Marek Szuba" <marecki@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/oidc-agent/
Date: Mon, 27 Mar 2023 21:53:43 +0000 (UTC)	[thread overview]
Message-ID: <1679953964.2ffe2a899b506a6cfccee2fe7abf3174be3ccac8.marecki@gentoo> (raw)

commit:     2ffe2a899b506a6cfccee2fe7abf3174be3ccac8
Author:     Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 27 21:52:44 2023 +0000
Commit:     Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Mon Mar 27 21:52:44 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ffe2a89

net-misc/oidc-agent: 4.5.1: pass USE_SO vars to all emake calls

Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>

 net-misc/oidc-agent/oidc-agent-4.5.1.ebuild | 21 ++++++++++++++-------
 1 file changed, 14 insertions(+), 7 deletions(-)

diff --git a/net-misc/oidc-agent/oidc-agent-4.5.1.ebuild b/net-misc/oidc-agent/oidc-agent-4.5.1.ebuild
index d036c301e3b3..34e8613dbf7d 100644
--- a/net-misc/oidc-agent/oidc-agent-4.5.1.ebuild
+++ b/net-misc/oidc-agent/oidc-agent-4.5.1.ebuild
@@ -38,17 +38,24 @@ src_prepare() {
 	sed -i -e 's|^\(\s\+\)@|\1|' Makefile || die "Failed to increase verbosity in Makefile"
 }
 
+oidc_emake() {
+	local mymakeargs=(
+		USE_CJSON_SO=1
+		USE_LIST_SO=0
+		USE_MUSTACHE_SO=0
+		USE_ARGP_SO=$(usex elibc_musl 1 0)
+	)
+
+	emake "${mymakeargs[@]}" $@
+}
+
 src_compile() {
-	local -x USE_CJSON_SO=1
-	local -x USE_LIST_SO=0
-	local -x USE_MUSTACHE_SO=0
-	use elibc_musl && local -x USE_ARGP_SO=1
-	emake -j1 create_obj_dir_structure create_picobj_dir_structure # Bug #880157
-	emake
+	oidc_emake -j1 create_obj_dir_structure create_picobj_dir_structure # Bug #880157
+	oidc_emake
 }
 
 src_install() {
-	emake \
+	oidc_emake \
 		PREFIX="${ED}" \
 		BIN_AFTER_INST_PATH="/usr" \
 		INCLUDE_PATH="${ED}"/usr/include \


             reply	other threads:[~2023-03-27 21:53 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-27 21:53 Marek Szuba [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-10-17  8:13 [gentoo-commits] repo/gentoo:master commit in: net-misc/oidc-agent/ Joonas Niilola
2024-10-17  8:13 Joonas Niilola
2024-10-17  8:13 Joonas Niilola
2024-04-08 13:15 Marek Szuba
2023-12-26 19:07 Sam James
2023-10-24 23:21 Marek Szuba
2023-10-24 23:16 Marek Szuba
2023-05-29 23:50 Sam James
2023-05-19  8:52 Marek Szuba
2023-03-27 20:18 Marek Szuba
2023-03-22 23:43 Marek Szuba
2023-03-22 23:43 Marek Szuba
2023-01-25 21:39 Marek Szuba
2022-11-10 22:48 Marek Szuba
2022-09-01 19:14 Sam James
2022-02-24  9:37 Jakov Smolić
2022-01-15  8:35 Agostino Sarubbo
2022-01-14 15:35 Marek Szuba
2022-01-03 23:14 Marek Szuba
2021-11-10 16:49 Marek Szuba
2021-09-20  9:31 Marek Szuba
2021-08-18 14:59 Sam James
2021-08-03 15:42 Marek Szuba
2021-06-27 17:25 Marek Szuba
2021-04-21 18:53 Sam James
2020-10-07 16:54 Marek Szuba
2020-09-25 14:25 Marek Szuba
2020-06-22 11:36 Marek Szuba
2020-06-22 11:31 Marek Szuba

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=1679953964.2ffe2a899b506a6cfccee2fe7abf3174be3ccac8.marecki@gentoo \
    --to=marecki@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