From: "Samuel Bauer" <samuel.bauer@yahoo.fr>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: games-action/blackvoxel/
Date: Mon, 3 May 2021 19:35:52 +0000 (UTC) [thread overview]
Message-ID: <1620070527.a1cc0bbf78ace25982570994ef1eac6a0093c46e.samuel.bauer@gentoo> (raw)
commit: a1cc0bbf78ace25982570994ef1eac6a0093c46e
Author: Samuel Bauer <samuel.bauer <AT> yahoo <DOT> fr>
AuthorDate: Mon May 3 19:35:27 2021 +0000
Commit: Samuel Bauer <samuel.bauer <AT> yahoo <DOT> fr>
CommitDate: Mon May 3 19:35:27 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a1cc0bbf
games-action/blackvoxel: integrate work from #787074 in live ebuild
Signed-off-by: Samuel Bauer <samuel.bauer <AT> yahoo.fr>
games-action/blackvoxel/blackvoxel-9999.ebuild | 13 ++++++++++++-
1 file changed, 12 insertions(+), 1 deletion(-)
diff --git a/games-action/blackvoxel/blackvoxel-9999.ebuild b/games-action/blackvoxel/blackvoxel-9999.ebuild
index d20271cef..2cdbbd8db 100644
--- a/games-action/blackvoxel/blackvoxel-9999.ebuild
+++ b/games-action/blackvoxel/blackvoxel-9999.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-inherit git-r3
+inherit git-r3 toolchain-funcs
DESCRIPTION="Blackvoxel Video Game"
HOMEPAGE="https://www.blackvoxel.com/"
@@ -30,11 +30,22 @@ src_prepare() {
sed -i -e 's/LDFLAGS=/LDFLAGS+= /' -e '/LDFLAGS/s/-s -zrelro //' \
-e '/(CPU_BITS)/ { s/; make //; s/cd/+make -C/}' \
-e '/CFLAGS+/d' -e 's/CFLAGS=/CFLAGS+=/' \
+ -e '/^CC=/d' -e 's/^LD=/CXX?=/' \
+ -e 's/CFLAGS/CXXFLAGS/g' -e 's/\$(CC)/$(CXX)/' \
+ -e 's/\$(LD)/$(CXX)/' \
Makefile || die
+ sed -i -e 's/\<gcc\>/$(CC)/' -e 's/\<g++\>/$(CXX)/' \
+ -e 's/\<ar\>/$(AR)/' src/sc_Squirrel3/squirrel/Makefile \
+ src/sc_Squirrel3/sqstdlib/Makefile \
+ src/sc_Squirrel3/sq/Makefile || die
default
}
src_compile() {
+ export CXX="$(tc-getCXX)"
+ export CC="$(tc-getCC)"
+ export AR="$(tc-getAR)"
+
emake blackvoxeldatadir="/usr/share/${PN}" bindir="/usr/bin"
}
next reply other threads:[~2021-05-03 19:35 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-03 19:35 Samuel Bauer [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-10-21 22:36 [gentoo-commits] repo/proj/guru:dev commit in: games-action/blackvoxel/ Abdelrahman Sarhan
2024-10-21 22:29 Abdelrahman Sarhan
2024-10-21 14:23 Abdelrahman Sarhan
2024-10-21 14:23 Abdelrahman Sarhan
2024-10-21 10:02 Viorel Munteanu
2024-10-21 5:51 Abdelrahman Sarhan
2023-05-27 17:16 Rahul Sandhu
2022-07-24 23:12 Samuel Bauer
2021-05-03 20:30 Samuel Bauer
2021-04-29 22:28 Samuel Bauer
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=1620070527.a1cc0bbf78ace25982570994ef1eac6a0093c46e.samuel.bauer@gentoo \
--to=samuel.bauer@yahoo.fr \
--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