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 15:56:46 +0000 (UTC)	[thread overview]
Message-ID: <1616687798.893ef30a570d5d1e202e6b9e007eda4bec663b67.sam@gentoo> (raw)

commit:     893ef30a570d5d1e202e6b9e007eda4bec663b67
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 25 15:53:23 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Mar 25 15:56:38 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=893ef30a

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 <sam <AT> gentoo.org>

 gui-wm/hikari/hikari-2.2.2-r1.ebuild | 19 ++++++++++++-------
 1 file changed, 12 insertions(+), 7 deletions(-)

diff --git a/gui-wm/hikari/hikari-2.2.2-r1.ebuild b/gui-wm/hikari/hikari-2.2.2-r1.ebuild
index a9bbaec4c52..249a1164a1e 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
 }


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

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-25 15:56 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 17:03 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=1616687798.893ef30a570d5d1e202e6b9e007eda4bec663b67.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