Skip to content

Commit

Permalink
gui-wm/hikari: add MAKEOPTS filtering hack for now
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
thesamesam committed Mar 25, 2021
1 parent 35744c0 commit 39f7155
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions gui-wm/hikari/hikari-2.2.2-r1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 39f7155

Please sign in to comment.