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: gui-wm/hikari/
Date: Thu, 25 Mar 2021 17:03:19 +0000 (UTC)	[thread overview]
Message-ID: <1616691725.39f7155b659b65a406fc405fffbd417a66a1d3f5.sam@gentoo> (raw)

commit:     39f7155b659b65a406fc405fffbd417a66a1d3f5
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 25 17:02:05 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Mar 25 17:02:05 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39f7155b

gui-wm/hikari: add MAKEOPTS filtering hack for now

We need to hack out --load-average (-l) from MAKEOPTS
for now until we have a better way (e.g. flag-o-matic.eclass)
to filter out options from MAKEOPTS for implementations
which don't support it, like bmake.

Thanks-to: ggabriel
Bug: https://bugs.gentoo.org/778191
Signed-off-by: Sam James <sam <AT> gentoo.org>

 gui-wm/hikari/hikari-2.2.2-r1.ebuild | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/gui-wm/hikari/hikari-2.2.2-r1.ebuild b/gui-wm/hikari/hikari-2.2.2-r1.ebuild
index c576fc0ef13..5db53df9ccd 100644
--- a/gui-wm/hikari/hikari-2.2.2-r1.ebuild
+++ b/gui-wm/hikari/hikari-2.2.2-r1.ebuild
@@ -42,7 +42,12 @@ BDEPEND="
 PATCHES=( "${FILESDIR}"/${PN}-2.2.1-pkgconfig.patch )
 
 pkg_setup() {
+	# We set `bmake` and we also have to remove any reference to -l in MAKEOPTS
+	# as `bmake` does not support load average
+	# We do this in a crude way until flag-o-matic supports MAKEOPTS
+	# bug 778191
 	export MAKE=bmake
+	export MAKEOPTS=$(echo ${MAKEOPTS} | sed 's/-l \?[\.0-9]\+//' || die)
 	tc-export CC PKG_CONFIG
 }
 


             reply	other threads:[~2021-03-25 17:03 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-25 17:03 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-02-11 23:17 [gentoo-commits] repo/gentoo:master commit in: gui-wm/hikari/ Ionen Wolkens
2022-01-14  5:44 Ionen Wolkens
2021-09-19 20:28 Ionen Wolkens
2021-09-19 20:28 Ionen Wolkens
2021-03-25 15:56 Sam James
2021-03-25 15:56 Sam James
2021-03-25 15:56 Sam James
2020-12-16  2:17 Aaron Bauman
2020-10-31 15:58 Joonas Niilola
2020-10-31 15:58 Joonas Niilola
2020-09-29  6:37 Joonas Niilola
2020-09-29  6:37 Joonas Niilola
2020-06-15  2:27 Aaron Bauman

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=1616691725.39f7155b659b65a406fc405fffbd417a66a1d3f5.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