public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sergei Trofimovich" <slyfox@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-devel/kgcc64/
Date: Sat, 14 Mar 2020 10:04:42 +0000 (UTC)	[thread overview]
Message-ID: <1584180276.5a17c5d09e80b2228b47dba7b103a8dae06c9520.slyfox@gentoo> (raw)

commit:     5a17c5d09e80b2228b47dba7b103a8dae06c9520
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 14 10:04:17 2020 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sat Mar 14 10:04:36 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a17c5d0

sys-devel/kgcc64: restore valid ebuild

Reported-by: Toralf Förster
Closes: https://bugs.gentoo.org/712454
Package-Manager: Portage-2.3.93, Repoman-2.3.20
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 sys-devel/kgcc64/kgcc64-9.3.0-r1.ebuild | 47 +++++++++++++++++++++++++++++++++
 sys-devel/kgcc64/kgcc64-9.3.0.ebuild    | 19 -------------
 2 files changed, 47 insertions(+), 19 deletions(-)

diff --git a/sys-devel/kgcc64/kgcc64-9.3.0-r1.ebuild b/sys-devel/kgcc64/kgcc64-9.3.0-r1.ebuild
new file mode 100644
index 00000000000..9f78de903d5
--- /dev/null
+++ b/sys-devel/kgcc64/kgcc64-9.3.0-r1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+case ${CHOST} in
+	hppa*)    CTARGET=hppa64-${CHOST#*-};;
+	mips*)    CTARGET=${CHOST/mips/mips64};;
+	powerpc*) CTARGET=${CHOST/powerpc/powerpc64};;
+	s390*)    CTARGET=${CHOST/s390/s390x};;
+	sparc*)   CTARGET=${CHOST/sparc/sparc64};;
+	i?86*)    CTARGET=x86_64-${CHOST#*-};;
+esac
+export CTARGET
+TOOLCHAIN_ALLOWED_LANGS="c"
+GCC_TARGET_NO_MULTILIB=true
+
+PATCH_VER="1"
+inherit toolchain
+
+DESCRIPTION="64bit kernel compiler"
+
+# Works on hppa and mips; all other archs, refer to bug #228115
+KEYWORDS="~hppa ~mips"
+
+# unlike every other target, hppa has not unified the 32/64 bit
+# ports in binutils yet
+DEPEND="
+	hppa? ( sys-devel/binutils-hppa64 )
+	!sys-devel/gcc-hppa64
+	!sys-devel/gcc-mips64
+	!sys-devel/gcc-powerpc64
+	!sys-devel/gcc-sparc64"
+
+pkg_postinst() {
+	toolchain_pkg_postinst
+
+	cd "${ROOT}"/usr/bin
+	local x
+	for x in gcc cpp ; do
+		cat <<-EOF >${CTARGET%%-*}-linux-${x}
+		#!/bin/sh
+		exec ${CTARGET}-${x} "\$@"
+		EOF
+		chmod a+rx ${CTARGET%%-*}-linux-${x}
+	done
+}

diff --git a/sys-devel/kgcc64/kgcc64-9.3.0.ebuild b/sys-devel/kgcc64/kgcc64-9.3.0.ebuild
deleted file mode 100644
index ecdde41c0bc..00000000000
--- a/sys-devel/kgcc64/kgcc64-9.3.0.ebuild
+++ /dev/null
@@ -1,19 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="7"
-
-PATCH_VER="1"
-
-inherit toolchain
-
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sh ~sparc ~x86"
-
-RDEPEND=""
-DEPEND="${RDEPEND}
-	elibc_glibc? ( >=sys-libs/glibc-2.13 )
-	>=${CATEGORY}/binutils-2.20"
-
-if [[ ${CATEGORY} != cross-* ]] ; then
-	PDEPEND="${PDEPEND} elibc_glibc? ( >=sys-libs/glibc-2.13 )"
-fi


             reply	other threads:[~2020-03-14 10:04 UTC|newest]

Thread overview: 153+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-14 10:04 Sergei Trofimovich [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-03-14  5:43 [gentoo-commits] repo/gentoo:master commit in: sys-devel/kgcc64/ Sam James
2025-03-14  5:17 Sam James
2025-03-14  5:17 Sam James
2025-03-14  5:17 Sam James
2024-12-27 17:58 Sam James
2024-12-27 17:58 Sam James
2024-12-27 17:58 Sam James
2024-12-27 13:16 Sam James
2024-12-27 13:16 Sam James
2024-12-27 13:16 Sam James
2024-11-21 15:15 Sam James
2024-11-21 15:15 Sam James
2024-11-20 17:33 Sam James
2024-11-20 17:33 Sam James
2024-11-20 17:33 Sam James
2024-11-20 17:33 Sam James
2024-11-20 17:29 Sam James
2024-11-20 17:29 Sam James
2024-11-20 15:52 Sam James
2024-11-19 14:47 Sam James
2024-11-02  2:44 Sam James
2024-11-02  2:44 Sam James
2024-11-02  2:43 Sam James
2024-11-02  2:43 Sam James
2024-11-02  2:43 Sam James
2024-09-22 10:36 Sam James
2024-09-22 10:36 Sam James
2024-09-22 10:36 Sam James
2024-09-22 10:36 Sam James
2024-09-22 10:36 Sam James
2024-09-22 10:19 Sam James
2024-09-22 10:19 Sam James
2024-09-22 10:19 Sam James
2024-09-18 15:55 Sam James
2024-09-18 15:51 Sam James
2024-09-09 15:10 Sam James
2024-09-05  4:05 Sam James
2024-09-05  4:05 Sam James
2024-09-05  4:05 Sam James
2024-09-05  4:05 Sam James
2024-09-05  4:05 Sam James
2024-09-05  4:05 Sam James
2024-09-05  4:05 Sam James
2024-07-17  4:31 Sam James
2024-07-17  4:31 Sam James
2024-07-17  4:31 Sam James
2024-07-17  4:31 Sam James
2024-05-19 18:44 Sam James
2024-05-09 23:29 Sam James
2024-05-04 15:10 Sam James
2024-05-04 15:10 Sam James
2024-05-04 15:10 Sam James
2024-03-23 15:44 Sam James
2024-03-16  9:29 Sam James
2024-03-16  9:29 Sam James
2024-03-02  4:57 Sam James
2024-03-02  4:57 Sam James
2024-03-02  4:57 Sam James
2024-02-15 23:40 Sam James
2024-02-15 23:40 Sam James
2024-02-15 23:40 Sam James
2024-01-23  4:23 Sam James
2024-01-23  4:23 Sam James
2024-01-23  4:23 Sam James
2024-01-22 17:28 Sam James
2024-01-22 17:28 Sam James
2024-01-22 17:28 Sam James
2023-12-18  1:20 Sam James
2023-12-18  1:20 Sam James
2023-12-18  1:20 Sam James
2023-11-22 12:08 Sam James
2023-11-22 12:08 Sam James
2023-10-30 23:09 Sam James
2023-10-30  5:00 Sam James
2023-10-20  3:49 Sam James
2023-10-20  3:49 Sam James
2023-10-18  9:48 Sam James
2023-09-27  8:26 Sam James
2023-08-27  1:54 Sam James
2023-08-27  1:54 Sam James
2023-08-27  1:54 Sam James
2023-08-07 15:54 Arthur Zamarin
2023-08-03 15:48 Sam James
2023-07-29  2:26 Sam James
2023-07-23 16:24 Sam James
2023-07-23 16:24 Sam James
2023-07-23 16:24 Sam James
2023-05-17  1:31 Sam James
2023-05-17  1:31 Sam James
2023-01-25 19:17 Arthur Zamarin
2022-11-20  4:35 Sam James
2022-11-20  4:35 Sam James
2022-08-31  4:58 Sam James
2022-08-31  4:58 Sam James
2022-08-31  4:58 Sam James
2022-07-26  4:15 Sam James
2022-06-02  8:25 Sam James
2022-04-21 20:31 Sam James
2022-04-21 12:30 Sam James
2022-04-17 18:32 Sam James
2022-03-18  6:44 Sam James
2022-03-18  6:43 Sam James
2022-01-22  3:01 Sam James
2022-01-06 20:02 Sam James
2022-01-06 20:02 Sam James
2021-06-11 16:58 Sergei Trofimovich
2021-05-09 11:53 Sergei Trofimovich
2021-05-09 11:53 Sergei Trofimovich
2021-04-30  7:10 Sergei Trofimovich
2021-04-24 12:49 Sergei Trofimovich
2021-03-06 19:38 Sergei Trofimovich
2021-03-06 19:38 Sergei Trofimovich
2021-02-20 11:02 Sergei Trofimovich
2020-10-10  8:39 Sergei Trofimovich
2020-10-10  8:39 Sergei Trofimovich
2020-07-23 17:38 Sergei Trofimovich
2020-07-23 17:18 Sergei Trofimovich
2020-07-23 17:18 Sergei Trofimovich
2020-07-23  8:59 Sergei Trofimovich
2020-06-08 16:44 Sergei Trofimovich
2020-05-08  0:31 Sergei Trofimovich
2020-04-12 15:06 Sergei Trofimovich
2020-04-12 15:06 Sergei Trofimovich
2020-04-03  6:41 Sergei Trofimovich
2019-11-13 23:09 Jeroen Roovers
2019-09-03 19:31 Jeroen Roovers
2019-06-30 18:39 Jeroen Roovers
2019-06-30 15:59 Jeroen Roovers
2019-02-23 13:04 Jeroen Roovers
2019-02-22 23:58 Sergei Trofimovich
2018-08-20 11:41 Jeroen Roovers
2018-07-26 21:23 Sergei Trofimovich
2018-02-25 14:31 Jeroen Roovers
2018-02-24 10:54 Jeroen Roovers
2018-02-24  8:15 Jeroen Roovers
2018-01-01 10:16 Anthony G. Basile
2017-09-16 10:00 Sergei Trofimovich
2017-09-16  9:25 Sergei Trofimovich
2017-09-16  9:25 Sergei Trofimovich
2017-05-06 11:48 Jeroen Roovers
2017-05-06 11:48 Jeroen Roovers
2017-05-06 11:48 Jeroen Roovers
2017-02-18  9:12 Jeroen Roovers
2016-10-09  9:38 Jeroen Roovers
2016-10-02 12:14 Jeroen Roovers
2016-06-25 21:01 Jeroen Roovers
2016-03-26  9:32 Jeroen Roovers
2015-10-31  7:02 Jeroen Roovers
2015-10-01 16:13 Mike Frysinger
2015-09-27  6:02 Jeroen Roovers
2015-09-27  4:34 Jeroen Roovers
2015-09-11  6:09 Jeroen Roovers

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=1584180276.5a17c5d09e80b2228b47dba7b103a8dae06c9520.slyfox@gentoo \
    --to=slyfox@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