summaryrefslogtreecommitdiff
path: root/gui-wm
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-03-25 17:02:05 +0000
committerSam James <sam@gentoo.org>2021-03-25 17:02:05 +0000
commit39f7155b659b65a406fc405fffbd417a66a1d3f5 (patch)
treee75d2928efe46f15ff6b70e081f1671756cc400f /gui-wm
parentvirtual/qmail: update maintainers (adopt for Dakon) (diff)
downloadgentoo-39f7155b659b65a406fc405fffbd417a66a1d3f5.tar.gz
gentoo-39f7155b659b65a406fc405fffbd417a66a1d3f5.tar.bz2
gentoo-39f7155b659b65a406fc405fffbd417a66a1d3f5.zip
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@gentoo.org>
Diffstat (limited to 'gui-wm')
-rw-r--r--gui-wm/hikari/hikari-2.2.2-r1.ebuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/gui-wm/hikari/hikari-2.2.2-r1.ebuild b/gui-wm/hikari/hikari-2.2.2-r1.ebuild
index c576fc0ef13e..5db53df9ccd5 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
}