Gentoo Archives: gentoo-commits

From: Sergei Trofimovich <slyfox@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-devel/kgcc64/
Date: Fri, 22 Feb 2019 23:58:41
Message-Id: 1550879911.c77eadec067758b971eee0970d9a5dc6d8a067dc.slyfox@gentoo
1 commit: c77eadec067758b971eee0970d9a5dc6d8a067dc
2 Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
3 AuthorDate: Fri Feb 22 23:57:48 2019 +0000
4 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
5 CommitDate: Fri Feb 22 23:58:31 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c77eadec
7
8 sys-devel/kgcc64: bump up to 8.3.0, patchset 1.0
9
10 It's a verbatim copy of 8.2.0 patchset with upstreamed patches removed.
11
12 Package-Manager: Portage-2.3.62, Repoman-2.3.12
13 Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
14
15 sys-devel/kgcc64/Manifest | 2 ++
16 sys-devel/kgcc64/kgcc64-8.3.0.ebuild | 53 ++++++++++++++++++++++++++++++++++++
17 sys-devel/kgcc64/metadata.xml | 14 +++++-----
18 3 files changed, 62 insertions(+), 7 deletions(-)
19
20 diff --git a/sys-devel/kgcc64/Manifest b/sys-devel/kgcc64/Manifest
21 index b69c6a95522..c2a5131a94c 100644
22 --- a/sys-devel/kgcc64/Manifest
23 +++ b/sys-devel/kgcc64/Manifest
24 @@ -36,3 +36,5 @@ DIST gcc-7.3.0-patches-1.0.tar.bz2 6757 BLAKE2B ffe6a69e61dc4379fc77b0bf21971ff6
25 DIST gcc-7.3.0.tar.xz 62462388 BLAKE2B dc8f132b21bd0543c3d9dd17557038aafe65675aa73c540954234a3c972b4c31c939149bd50183d072ab6c8d16919e19daeaaffd619ce2ccd62dbdf9a5bb3302 SHA512 ad41a7e4584e40e92cdf860bc0288500fbaf5dfb7e8c3fcabe9eba809c87bcfa85b46c19c19921b0cdf6d05483faede8287bb9ea120c0d1559449a70e602c8d4
26 DIST gcc-8.1.0-patches-1.3.tar.bz2 10713 BLAKE2B 3e5cddf5b0c0b9b2bbd2b0aa546dc3aee9bf0e8421656c9260bb7561baa8bb53f7b6ad651bf12d68102fd9e9f97fa17c3306d52a657a46d2dedd16e9a1a74579 SHA512 37c785fbfd801d48c46c65e21d33085c1470942531b8f13c28f933debcec944a1389a50fe0f72afa7dbba25a931959a3ebb1c42911abadd11ee530812f1034bb
27 DIST gcc-8.2.0.tar.xz 63460876 BLAKE2B c5372b0bdfcd2729577dca287b294623b78c583491998404eb307768c573618bdaaedb7d9ae0e39ba41a62a14b9525dff0e3083285754b7f5bb9987ecf635185 SHA512 64898a165f67e136d802a92e7633bf1b06c85266027e52127ea025bf5fc2291b5e858288aac0bdba246e6cdf7c6ec88bc8e0e7f3f6f1985f4297710cafde56ed
28 +DIST gcc-8.3.0-patches-1.0.tar.bz2 12278 BLAKE2B 793465c5de0af850c7f3017b3011e68f3bd1664e6ce3500a3dc3003d37c03fe81857698957770a135eadd395a7767fa804d354ecdcdeb1d83623280ca569d4ec SHA512 0efadd2481713992807fed2683666f1094b3757674754601c079569f3ef70cd7aed3cefc9f815f4e59a21d37e4e940c122df714e16f3878a5f966450c4273669
29 +DIST gcc-8.3.0.tar.xz 63694700 BLAKE2B 71df2ff5bd6874d57519c2e9af6b22152c8c4d7fab906a5f427b41bc4e8e742127592a8684120d9d3c9ce6241439531850be08ec0a4f29dbfdee95435655fdca SHA512 1811337ae3add9680cec64968a2509d085b6dc5b6783fc1e8c295e3e47416196fd1a3ad8dfe7e10be2276b4f62c357659ce2902f239f60a8648548231b4b5802
30
31 diff --git a/sys-devel/kgcc64/kgcc64-8.3.0.ebuild b/sys-devel/kgcc64/kgcc64-8.3.0.ebuild
32 new file mode 100644
33 index 00000000000..303eb1ba2db
34 --- /dev/null
35 +++ b/sys-devel/kgcc64/kgcc64-8.3.0.ebuild
36 @@ -0,0 +1,53 @@
37 +# Copyright 1999-2019 Gentoo Authors
38 +# Distributed under the terms of the GNU General Public License v2
39 +
40 +EAPI=5
41 +
42 +case ${CHOST} in
43 + hppa*) CTARGET=hppa64-${CHOST#*-};;
44 + mips*) CTARGET=${CHOST/mips/mips64};;
45 + powerpc*) CTARGET=${CHOST/powerpc/powerpc64};;
46 + s390*) CTARGET=${CHOST/s390/s390x};;
47 + sparc*) CTARGET=${CHOST/sparc/sparc64};;
48 + i?86*) CTARGET=x86_64-${CHOST#*-};;
49 +esac
50 +export CTARGET
51 +TOOLCHAIN_ALLOWED_LANGS="c"
52 +GCC_TARGET_NO_MULTILIB=true
53 +
54 +PATCH_VER="1.0"
55 +inherit eutils toolchain
56 +
57 +DESCRIPTION="64bit kernel compiler"
58 +
59 +# Works on hppa and mips; all other archs, refer to bug #228115
60 +KEYWORDS="~hppa ~mips"
61 +
62 +RDEPEND=">=dev-libs/gmp-4.3.2
63 + >=dev-libs/mpfr-2.4.2
64 + >=dev-libs/mpc-0.8.1
65 + >=sys-devel/gcc-config-1.4"
66 +# unlike every other target, hppa has not unified the 32/64 bit
67 +# ports in binutils yet
68 +DEPEND="${RDEPEND}
69 + hppa? ( sys-devel/binutils-hppa64 )
70 + !sys-devel/gcc-hppa64
71 + !sys-devel/gcc-mips64
72 + !sys-devel/gcc-powerpc64
73 + !sys-devel/gcc-sparc64
74 + >=sys-apps/texinfo-4.8
75 + >=sys-devel/bison-1.875"
76 +
77 +pkg_postinst() {
78 + toolchain_pkg_postinst
79 +
80 + cd "${ROOT}"/usr/bin
81 + local x
82 + for x in gcc cpp ; do
83 + cat <<-EOF >${CTARGET%%-*}-linux-${x}
84 + #!/bin/sh
85 + exec ${CTARGET}-${x} "\$@"
86 + EOF
87 + chmod a+rx ${CTARGET%%-*}-linux-${x}
88 + done
89 +}
90
91 diff --git a/sys-devel/kgcc64/metadata.xml b/sys-devel/kgcc64/metadata.xml
92 index 2753a6abd17..df7607df3a8 100644
93 --- a/sys-devel/kgcc64/metadata.xml
94 +++ b/sys-devel/kgcc64/metadata.xml
95 @@ -1,11 +1,11 @@
96 <?xml version="1.0" encoding="UTF-8"?>
97 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
98 <pkgmetadata>
99 -<maintainer type="project">
100 -<email>toolchain@g.o</email>
101 -<name>Gentoo Toolchain Project</name>
102 -</maintainer>
103 -<use>
104 -<flag name="regression-test">Run the testsuite and install the results (requires FEATURES=test)</flag>
105 -</use>
106 + <maintainer type="project">
107 + <email>toolchain@g.o</email>
108 + <name>Gentoo Toolchain Project</name>
109 + </maintainer>
110 + <use>
111 + <flag name="regression-test">Run the testsuite and install the results (requires FEATURES=test)</flag>
112 + </use>
113 </pkgmetadata>