From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-devel/gcc-config/
Date: Mon, 10 Oct 2022 14:18:11 +0000 (UTC) [thread overview]
Message-ID: <1665411479.1f56ffa16dbca7cc38c49bbb977a384f894796e7.sam@gentoo> (raw)
commit: 1f56ffa16dbca7cc38c49bbb977a384f894796e7
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 10 14:16:50 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Oct 10 14:17:59 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f56ffa1
sys-devel/gcc-config: add 2.8
Closes: https://bugs.gentoo.org/868639
Bug: https://bugs.gentoo.org/872971
Signed-off-by: Sam James <sam <AT> gentoo.org>
sys-devel/gcc-config/Manifest | 1 +
sys-devel/gcc-config/gcc-config-2.8.ebuild | 60 ++++++++++++++++++++++++++++++
2 files changed, 61 insertions(+)
diff --git a/sys-devel/gcc-config/Manifest b/sys-devel/gcc-config/Manifest
index cda0b548e7a5..ff5aaf24e2cf 100644
--- a/sys-devel/gcc-config/Manifest
+++ b/sys-devel/gcc-config/Manifest
@@ -2,3 +2,4 @@ DIST gcc-config-2.4.tar.xz 17552 BLAKE2B 631645a5cc9f3e7ab0ff089960ee3d0b2ecea29
DIST gcc-config-2.5.tar.xz 17664 BLAKE2B fa7133a54d3b49df20d3ae6036a65602c8a0d9e8668e2874a87d080add241a31322a3f4694bff8a5fe61957740603862539c0d9750e446d36beb2fb42ff0ba27 SHA512 20a8d62192faf54101352cfb6ca00503c9b2ab83aefecd94c4c887302a000d78334545a3424603a66a50e5f3ff07b67b16828813407893df5d94051776252b83
DIST gcc-config-2.6.tar.xz 17772 BLAKE2B 5f06ac46c64fd241be9e7b95e277395623f015016c5abbe5e3275dce3fbf326d998a897a915b87387c878a1b57cdc847a6f95fa0b7ca00aa954c13d00a6e7d09 SHA512 27de726b266b2f58f28a4eab0a77141a8c0cfc9e939f4f0ee8dd382578a1cdececd30a4ae15bab858fec01a533c41248c9858f25d5d7314c36e8f2fcd57df429
DIST gcc-config-2.7.tar.xz 17916 BLAKE2B 4c775ad64648e9b463981f43ff03f0c5b703c7cb0812f3a4579fdc939630b8d91d0b1d8a9bb56e47098155be492452698907c9640f0accd5e2141dc49216093d SHA512 69888798257ea6a9c16e387b3cee872ad47aa891f191ef6fbbbf18df243fba649505799c9cad57474f34720ff8892d8f21c96b69d5d6279efe0c7ee79a9ca8b3
+DIST gcc-config-2.8.tar.xz 17968 BLAKE2B aa34e681ef0c86bb846d89b816b46276f5c7c32974c785a9611a903a4fe165c997a34664abe17aa4d8720a96f194054e5d8c371a6c9270b1c235d7539094436c SHA512 5e91df44fb7782b9ad41ed06fbd53f74868c059f892c6c2b8195ebaa899905dd9f502562887f1a3765dd6b61698e956d01c6fa6f97a535cf16e26e70fcd902ba
diff --git a/sys-devel/gcc-config/gcc-config-2.8.ebuild b/sys-devel/gcc-config/gcc-config-2.8.ebuild
new file mode 100644
index 000000000000..7ff12f007e38
--- /dev/null
+++ b/sys-devel/gcc-config/gcc-config-2.8.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+if [[ ${PV} == 9999 ]]; then
+ EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/gcc-config.git"
+ inherit git-r3
+else
+ SRC_URI="https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}.tar.xz"
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+fi
+
+DESCRIPTION="Utility to manage compilers"
+HOMEPAGE="https://gitweb.gentoo.org/proj/gcc-config.git/"
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="+cc-wrappers +native-symlinks"
+
+RDEPEND=">=sys-apps/gentoo-functions-0.10"
+
+_emake() {
+ emake \
+ PV="${PVR}" \
+ SUBLIBDIR="$(get_libdir)" \
+ USE_CC_WRAPPERS="$(usex cc-wrappers)" \
+ USE_NATIVE_LINKS="$(usex native-symlinks)" \
+ TOOLCHAIN_PREFIX="${CHOST}-" \
+ "$@"
+}
+
+src_compile() {
+ _emake
+}
+
+src_install() {
+ _emake DESTDIR="${D}" install
+}
+
+pkg_postinst() {
+ # Do we have a valid multi ver setup ?
+ local x
+ for x in $(gcc-config -C -l 2>/dev/null | awk '$NF == "*" { print $2 }') ; do
+ gcc-config ${x}
+ done
+
+ # USE flag change can add or delete files in /usr/bin worth recaching
+ if [[ ! ${ROOT} && -f ${EPREFIX}/usr/share/eselect/modules/compiler-shadow.eselect ]] ; then
+ eselect compiler-shadow update all
+ fi
+
+ if ! has_version "sys-devel/gcc[gcj(-)]" && [[ -x "${EROOT}"/usr/bin/gcj ]] ; then
+ # Warn about obsolete /usr/bin/gcj for bug #804178
+ ewarn "Obsolete GCJ wrapper found: ${EROOT}/usr/bin/gcj!"
+ ewarn "Please delete this file unless you know it is needed (e.g. custom gcj install)."
+ ewarn "If you have no idea what this means, please delete the file:"
+ ewarn " rm ${EROOT}/usr/bin/gcj"
+ fi
+}
next reply other threads:[~2022-10-10 14:18 UTC|newest]
Thread overview: 186+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-10 14:18 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-01-25 3:40 [gentoo-commits] repo/gentoo:master commit in: sys-devel/gcc-config/ Matt Turner
2025-01-22 11:45 Arthur Zamarin
2025-01-22 11:45 Arthur Zamarin
2025-01-22 7:57 Sam James
2025-01-22 7:57 Sam James
2025-01-22 7:57 Sam James
2025-01-22 7:57 Sam James
2025-01-22 7:57 Sam James
2024-12-08 3:29 Sam James
2023-09-18 0:41 Andreas K. Hüttel
2023-09-18 0:41 Andreas K. Hüttel
2023-06-25 15:39 Arthur Zamarin
2023-06-25 7:39 Sam James
2023-06-25 7:22 Sam James
2023-06-25 7:22 Sam James
2023-06-25 7:12 Sam James
2023-06-25 7:07 Sam James
2023-06-25 7:06 Sam James
2023-06-25 7:06 Sam James
2023-05-14 17:31 Sam James
2023-04-10 8:21 Sam James
2023-04-10 6:52 Sam James
2023-04-10 6:52 Sam James
2023-04-10 6:52 Sam James
2023-04-10 6:52 Sam James
2023-04-10 6:52 Sam James
2023-04-10 6:52 Sam James
2023-04-10 6:52 Sam James
2023-01-15 22:41 Sam James
2023-01-05 0:19 Sam James
2023-01-03 6:14 Sam James
2023-01-03 6:14 Sam James
2022-12-28 19:16 Sam James
2022-12-28 15:27 Sam James
2022-10-26 23:07 Sam James
2022-10-26 23:07 Sam James
2022-10-26 23:07 Sam James
2022-10-26 23:07 Sam James
2022-10-26 23:07 Sam James
2022-10-26 23:07 Sam James
2022-10-26 23:07 Sam James
2022-10-26 23:07 Sam James
2022-10-10 14:18 Sam James
2022-10-08 22:08 Sam James
2022-09-22 23:47 Sam James
2022-01-06 15:02 Agostino Sarubbo
2022-01-06 15:01 Agostino Sarubbo
2022-01-03 12:36 Sam James
2022-01-01 15:08 Arthur Zamarin
2022-01-01 15:08 Arthur Zamarin
2022-01-01 15:08 Arthur Zamarin
2022-01-01 9:37 Arthur Zamarin
2022-01-01 9:33 Arthur Zamarin
2021-11-22 7:11 Sam James
2021-11-18 5:30 Sam James
2021-11-18 5:29 Sam James
2021-10-01 7:14 Sam James
2021-05-15 13:58 Sergei Trofimovich
2021-05-15 2:53 Sam James
2021-05-15 2:41 Sam James
2021-04-24 12:37 Sergei Trofimovich
2021-04-13 7:36 Agostino Sarubbo
2021-04-04 21:21 Sergei Trofimovich
2021-04-04 21:21 Sergei Trofimovich
2021-04-04 16:03 Thomas Deutschmann
2021-04-04 12:36 Sergei Trofimovich
2021-04-03 20:45 Sergei Trofimovich
2021-03-26 11:50 Agostino Sarubbo
2021-03-01 17:18 Thomas Deutschmann
2021-02-28 20:40 Sergei Trofimovich
2021-02-28 12:22 Sergei Trofimovich
2021-02-28 9:50 Sergei Trofimovich
2021-02-26 17:34 Sergei Trofimovich
2021-02-26 14:19 Agostino Sarubbo
2021-01-23 17:58 Sergei Trofimovich
2020-11-19 7:37 Sergei Trofimovich
2020-11-18 19:16 Sergei Trofimovich
2020-10-15 23:20 Sergei Trofimovich
2020-10-15 22:21 Sergei Trofimovich
2020-10-13 10:01 Agostino Sarubbo
2020-10-13 9:26 Agostino Sarubbo
2020-10-12 11:49 Agostino Sarubbo
2020-10-12 11:47 Agostino Sarubbo
2020-10-12 7:00 Agostino Sarubbo
2020-10-12 7:00 Agostino Sarubbo
2020-10-10 17:13 Sam James
2020-10-10 17:13 Sam James
2020-10-08 8:00 Sergei Trofimovich
2020-10-07 6:55 Agostino Sarubbo
2020-09-05 18:17 Sergei Trofimovich
2020-08-29 14:48 Thomas Deutschmann
2020-08-01 9:01 Sergei Trofimovich
2020-08-01 8:53 Sergei Trofimovich
2020-07-28 17:28 Sergei Trofimovich
2020-07-27 18:36 Sergei Trofimovich
2020-07-27 3:01 Sam James
2020-07-26 1:18 Sam James
2020-07-25 11:17 Sam James
2020-07-16 8:01 Sergei Trofimovich
2020-07-12 0:39 Sam James
2020-07-02 17:05 Sergei Trofimovich
2020-06-29 13:40 Agostino Sarubbo
2020-06-29 13:38 Agostino Sarubbo
2020-06-29 13:37 Agostino Sarubbo
2020-06-29 13:37 Agostino Sarubbo
2020-06-29 13:36 Agostino Sarubbo
2020-06-29 13:36 Agostino Sarubbo
2020-06-29 13:35 Agostino Sarubbo
2020-06-24 20:53 Sergei Trofimovich
2020-06-21 12:00 Sergei Trofimovich
2020-06-20 21:20 Sergei Trofimovich
2020-05-23 7:55 Sergei Trofimovich
2020-05-22 20:53 Sergei Trofimovich
2020-05-22 20:36 Sergei Trofimovich
2020-05-22 9:47 Sergei Trofimovich
2020-05-02 17:51 Sergei Trofimovich
2020-03-31 17:51 Mart Raudsepp
2020-03-23 23:58 Sergei Trofimovich
2020-03-15 12:59 Mikle Kolyada
2020-03-15 12:57 Mikle Kolyada
2020-03-08 9:58 Sergei Trofimovich
2020-03-04 8:07 Agostino Sarubbo
2020-03-03 14:38 Agostino Sarubbo
2020-03-03 13:41 Agostino Sarubbo
2020-03-03 12:36 Agostino Sarubbo
2020-03-03 11:58 Agostino Sarubbo
2020-03-03 11:31 Agostino Sarubbo
2020-03-03 11:21 Agostino Sarubbo
2020-03-03 11:08 Agostino Sarubbo
2020-02-13 19:52 Sergei Trofimovich
2020-02-13 12:46 Agostino Sarubbo
2020-02-13 12:38 Agostino Sarubbo
2020-02-13 12:27 Agostino Sarubbo
2020-02-13 12:19 Agostino Sarubbo
2020-02-13 12:10 Agostino Sarubbo
2020-02-13 12:03 Agostino Sarubbo
2020-02-13 9:19 Agostino Sarubbo
2020-02-13 8:57 Agostino Sarubbo
2020-01-26 14:37 Sergei Trofimovich
2020-01-12 16:12 Sergei Trofimovich
2019-12-08 22:36 Sergei Trofimovich
2019-11-27 13:20 Mikle Kolyada
2019-11-27 13:20 Mikle Kolyada
2019-11-27 13:20 Mikle Kolyada
2019-11-22 13:44 Matt Turner
2019-11-21 17:17 Sergei Trofimovich
2019-11-14 11:55 Agostino Sarubbo
2019-11-13 7:44 Agostino Sarubbo
2019-11-13 7:39 Agostino Sarubbo
2019-11-12 23:13 Aaron Bauman
2019-11-12 15:08 Agostino Sarubbo
2019-11-12 10:16 Agostino Sarubbo
2019-11-12 10:13 Agostino Sarubbo
2019-11-12 10:05 Agostino Sarubbo
2019-09-08 9:15 Sergei Trofimovich
2019-05-04 19:51 Andreas K. Hüttel
2019-02-07 16:50 Mikle Kolyada
2019-01-11 21:00 Mart Raudsepp
2018-12-28 7:08 Mikle Kolyada
2018-12-23 19:52 Matt Turner
2018-12-15 22:39 Sergei Trofimovich
2018-12-14 22:50 Sergei Trofimovich
2018-12-14 22:48 Sergei Trofimovich
2018-12-14 22:44 Sergei Trofimovich
2018-12-14 22:22 Sergei Trofimovich
2018-12-14 2:13 Thomas Deutschmann
2018-12-13 20:41 Mikle Kolyada
2018-08-24 18:42 Sergei Trofimovich
2018-01-14 20:10 Mike Frysinger
2017-12-17 0:24 Andreas Hüttel
2017-12-16 20:05 Andreas Hüttel
2017-12-09 22:00 Andreas Hüttel
2017-12-01 23:40 Michał Górny
2017-10-18 12:36 Sergei Trofimovich
2017-10-17 19:07 Markus Meier
2017-10-14 21:53 Sergei Trofimovich
2017-10-13 19:53 Sergei Trofimovich
2017-10-04 22:52 Thomas Deutschmann
2017-10-04 14:56 Manuel Rüger
2017-10-04 12:09 Andreas Hüttel
2017-10-04 8:13 Sergei Trofimovich
2017-10-04 3:48 Matt Turner
2017-10-02 20:40 Andreas Hüttel
2017-08-31 22:15 Andreas Hüttel
2016-01-28 15:24 Michał Górny
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=1665411479.1f56ffa16dbca7cc38c49bbb977a384f894796e7.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