1 |
commit: cfade0ce971b76d22fef2e047a2d657a0987d791 |
2 |
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jun 30 18:38:40 2019 +0000 |
4 |
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jun 30 18:39:21 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cfade0ce |
7 |
|
8 |
sys-devel/kgcc64: Version 9.1.0 |
9 |
|
10 |
Package-Manager: Portage-2.3.67, Repoman-2.3.16 |
11 |
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org> |
12 |
|
13 |
sys-devel/kgcc64/Manifest | 2 ++ |
14 |
sys-devel/kgcc64/kgcc64-9.1.0.ebuild | 47 ++++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 49 insertions(+) |
16 |
|
17 |
diff --git a/sys-devel/kgcc64/Manifest b/sys-devel/kgcc64/Manifest |
18 |
index c2a5131a94c..79a290d5a41 100644 |
19 |
--- a/sys-devel/kgcc64/Manifest |
20 |
+++ b/sys-devel/kgcc64/Manifest |
21 |
@@ -38,3 +38,5 @@ DIST gcc-8.1.0-patches-1.3.tar.bz2 10713 BLAKE2B 3e5cddf5b0c0b9b2bbd2b0aa546dc3a |
22 |
DIST gcc-8.2.0.tar.xz 63460876 BLAKE2B c5372b0bdfcd2729577dca287b294623b78c583491998404eb307768c573618bdaaedb7d9ae0e39ba41a62a14b9525dff0e3083285754b7f5bb9987ecf635185 SHA512 64898a165f67e136d802a92e7633bf1b06c85266027e52127ea025bf5fc2291b5e858288aac0bdba246e6cdf7c6ec88bc8e0e7f3f6f1985f4297710cafde56ed |
23 |
DIST gcc-8.3.0-patches-1.0.tar.bz2 12278 BLAKE2B 793465c5de0af850c7f3017b3011e68f3bd1664e6ce3500a3dc3003d37c03fe81857698957770a135eadd395a7767fa804d354ecdcdeb1d83623280ca569d4ec SHA512 0efadd2481713992807fed2683666f1094b3757674754601c079569f3ef70cd7aed3cefc9f815f4e59a21d37e4e940c122df714e16f3878a5f966450c4273669 |
24 |
DIST gcc-8.3.0.tar.xz 63694700 BLAKE2B 71df2ff5bd6874d57519c2e9af6b22152c8c4d7fab906a5f427b41bc4e8e742127592a8684120d9d3c9ce6241439531850be08ec0a4f29dbfdee95435655fdca SHA512 1811337ae3add9680cec64968a2509d085b6dc5b6783fc1e8c295e3e47416196fd1a3ad8dfe7e10be2276b4f62c357659ce2902f239f60a8648548231b4b5802 |
25 |
+DIST gcc-9.1.0-patches-1.1.tar.bz2 13931 BLAKE2B 55e863514f41f1af11b1f6f618604edf7f173b4c4ef8df1301ccaf4577355ed03a34b04ab50a6cf4e50317b7f047f279e4212215b183d0642f138ee5163f655d SHA512 ab850bd38902c52586fc84dd1b2da31bab857412db08dce96642f17f213c95bae029bb1be5e0ac4bb12e55f863ecfc2ccda67635e8bc7b54383b2813642d991d |
26 |
+DIST gcc-9.1.0.tar.xz 70546856 BLAKE2B 0f7e5575aebc24113d12a56eb3dbf4bcdba3c656a76513c44dbbcded9ee71629727f24949bf2e1424682a9e5eda7c51eed93317e6f80013f5a837aaf25b82805 SHA512 b6134df027e734cee5395afd739fcfa4ea319a6017d662e54e89df927dea19d3fff7a6e35d676685383034e3db01c9d0b653f63574c274eeb15a2cb0bc7a1f28 |
27 |
|
28 |
diff --git a/sys-devel/kgcc64/kgcc64-9.1.0.ebuild b/sys-devel/kgcc64/kgcc64-9.1.0.ebuild |
29 |
new file mode 100644 |
30 |
index 00000000000..c99331026f8 |
31 |
--- /dev/null |
32 |
+++ b/sys-devel/kgcc64/kgcc64-9.1.0.ebuild |
33 |
@@ -0,0 +1,47 @@ |
34 |
+# Copyright 1999-2019 Gentoo Authors |
35 |
+# Distributed under the terms of the GNU General Public License v2 |
36 |
+ |
37 |
+EAPI=6 |
38 |
+ |
39 |
+case ${CHOST} in |
40 |
+ hppa*) CTARGET=hppa64-${CHOST#*-};; |
41 |
+ mips*) CTARGET=${CHOST/mips/mips64};; |
42 |
+ powerpc*) CTARGET=${CHOST/powerpc/powerpc64};; |
43 |
+ s390*) CTARGET=${CHOST/s390/s390x};; |
44 |
+ sparc*) CTARGET=${CHOST/sparc/sparc64};; |
45 |
+ i?86*) CTARGET=x86_64-${CHOST#*-};; |
46 |
+esac |
47 |
+export CTARGET |
48 |
+TOOLCHAIN_ALLOWED_LANGS="c" |
49 |
+GCC_TARGET_NO_MULTILIB=true |
50 |
+ |
51 |
+PATCH_VER="1.1" |
52 |
+inherit toolchain |
53 |
+ |
54 |
+DESCRIPTION="64bit kernel compiler" |
55 |
+ |
56 |
+# Works on hppa and mips; all other archs, refer to bug #228115 |
57 |
+KEYWORDS="~hppa ~mips" |
58 |
+ |
59 |
+# unlike every other target, hppa has not unified the 32/64 bit |
60 |
+# ports in binutils yet |
61 |
+DEPEND=" |
62 |
+ hppa? ( sys-devel/binutils-hppa64 ) |
63 |
+ !sys-devel/gcc-hppa64 |
64 |
+ !sys-devel/gcc-mips64 |
65 |
+ !sys-devel/gcc-powerpc64 |
66 |
+ !sys-devel/gcc-sparc64" |
67 |
+ |
68 |
+pkg_postinst() { |
69 |
+ toolchain_pkg_postinst |
70 |
+ |
71 |
+ cd "${ROOT}"/usr/bin |
72 |
+ local x |
73 |
+ for x in gcc cpp ; do |
74 |
+ cat <<-EOF >${CTARGET%%-*}-linux-${x} |
75 |
+ #!/bin/sh |
76 |
+ exec ${CTARGET}-${x} "\$@" |
77 |
+ EOF |
78 |
+ chmod a+rx ${CTARGET%%-*}-linux-${x} |
79 |
+ done |
80 |
+} |