From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-devel/qbe/
Date: Thu, 25 Aug 2022 02:09:42 +0000 (UTC) [thread overview]
Message-ID: <1661393367.ed18bdc4fcc38d8015b4a17b3537444dcf61b5aa.sam@gentoo> (raw)
commit: ed18bdc4fcc38d8015b4a17b3537444dcf61b5aa
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 25 02:06:56 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Aug 25 02:09:27 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed18bdc4
sys-devel/qbe: style tweaks, EAPI 8, respect CC
Signed-off-by: Sam James <sam <AT> gentoo.org>
sys-devel/qbe/{qbe-1.0-r1.ebuild => qbe-1.0.ebuild} | 12 +++++++++---
sys-devel/qbe/qbe-9999.ebuild | 8 +++++---
2 files changed, 14 insertions(+), 6 deletions(-)
diff --git a/sys-devel/qbe/qbe-1.0-r1.ebuild b/sys-devel/qbe/qbe-1.0.ebuild
similarity index 87%
rename from sys-devel/qbe/qbe-1.0-r1.ebuild
rename to sys-devel/qbe/qbe-1.0.ebuild
index 28dcf876539b..d041b7d0b849 100644
--- a/sys-devel/qbe/qbe-1.0-r1.ebuild
+++ b/sys-devel/qbe/qbe-1.0.ebuild
@@ -1,25 +1,31 @@
# Copyright 2021-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
-if [[ "${PV}" == "9999" ]]; then
- inherit git-r3
+inherit toolchain-funcs
+
+if [[ ${PV} == 9999 ]]; then
EGIT_REPO_URI="git://c9x.me/qbe.git"
+ inherit git-r3
else
SRC_URI="https://c9x.me/compile/release/${P}.tar.xz"
+
# 64-bit RISC-V only
KEYWORDS="~amd64 ~arm64 ~riscv"
fi
DESCRIPTION="Pure-C embeddable compiler backend"
HOMEPAGE="https://c9x.me/compile/"
+
LICENSE="MIT"
SLOT="0"
DOCS=( README doc )
src_compile() {
+ tc-export CC
+
emake CFLAGS="-std=c99 ${CPPFLAGS} ${CFLAGS}"
}
diff --git a/sys-devel/qbe/qbe-9999.ebuild b/sys-devel/qbe/qbe-9999.ebuild
index 28dcf876539b..2b2487f3dbbd 100644
--- a/sys-devel/qbe/qbe-9999.ebuild
+++ b/sys-devel/qbe/qbe-9999.ebuild
@@ -1,19 +1,21 @@
# Copyright 2021-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
-if [[ "${PV}" == "9999" ]]; then
- inherit git-r3
+if [[ ${PV} == 9999 ]]; then
EGIT_REPO_URI="git://c9x.me/qbe.git"
+ inherit git-r3
else
SRC_URI="https://c9x.me/compile/release/${P}.tar.xz"
+
# 64-bit RISC-V only
KEYWORDS="~amd64 ~arm64 ~riscv"
fi
DESCRIPTION="Pure-C embeddable compiler backend"
HOMEPAGE="https://c9x.me/compile/"
+
LICENSE="MIT"
SLOT="0"
next reply other threads:[~2022-08-25 2:09 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-25 2:09 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-02-28 8:31 [gentoo-commits] repo/gentoo:master commit in: sys-devel/qbe/ Florian Schmaus
2024-02-28 8:31 Florian Schmaus
2024-01-12 7:52 Joonas Niilola
2023-02-24 12:19 Viorel Munteanu
2022-08-26 7:24 Sam James
2022-08-25 2:09 Sam James
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=1661393367.ed18bdc4fcc38d8015b4a17b3537444dcf61b5aa.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