From 893ef30a570d5d1e202e6b9e007eda4bec663b67 Mon Sep 17 00:00:00 2001 From: Sam James Date: Thu, 25 Mar 2021 15:53:23 +0000 Subject: gui-wm/hikari: use emake instead of (b)make directly PMS guarantees [0] that 'emake' respects ${MAKE}, so let's use that to ensure that e.g. ${MAKEFLAGS} from the user is respected. [0] https://dev.gentoo.org/~ulm/pms/head/pms.html#x1-12800012.3.8 Signed-off-by: Sam James --- gui-wm/hikari/hikari-2.2.2-r1.ebuild | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) (limited to 'gui-wm') diff --git a/gui-wm/hikari/hikari-2.2.2-r1.ebuild b/gui-wm/hikari/hikari-2.2.2-r1.ebuild index a9bbaec4c529..249a1164a1ed 100644 --- a/gui-wm/hikari/hikari-2.2.2-r1.ebuild +++ b/gui-wm/hikari/hikari-2.2.2-r1.ebuild @@ -1,9 +1,9 @@ -# Copyright 2019-2020 Gentoo Authors +# Copyright 2019-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -inherit multiprocessing toolchain-funcs +inherit toolchain-funcs DESCRIPTION="Wayland compositor inspired by CWM" HOMEPAGE="https://hikari.acmelabs.space/" @@ -45,7 +45,8 @@ pkg_setup() { } src_compile() { - ${MAKE} -j$(makeopts_jobs) VERSION="{PV}" \ + emake \ + VERSION="{PV}" \ CC="$(tc-getCC)" \ CFLAGS_EXTRA="${CFLAGS}" \ LDFLAGS_EXTRA="${LDFLAGS}" \ @@ -55,12 +56,16 @@ src_compile() { $(usex screencopy -DWITH_SCREENCOPY "") \ $(usex virtual-io -DWITH_VIRTUAL_INPUT "") \ $(usex X -DWITH_XWAYLAND "") \ - all || die + all } src_install() { - ${MAKE} DESTDIR="${D}" PREFIX=/usr ETC_PREFIX=/ \ - $(usex suid "" -DWITHOUT_SUID) \ - install || die + emake \ + DESTDIR="${D}" \ + PREFIX=/usr \ + ETC_PREFIX=/ \ + $(usex suid "" -DWITHOUT_SUID) \ + install + doman share/man/man1/hikari.1 } -- cgit v1.2.3-65-gdbad