diff options
author | Jeroen Roovers <jer@gentoo.org> | 2015-09-27 08:02:06 +0200 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2015-09-27 08:02:06 +0200 |
commit | e94a5aeb22c4fbbb2de191403c09aec881849ccd (patch) | |
tree | 228f8b70e130572dd3a95c1d78256540fd9b9543 /sys-devel/kgcc64 | |
parent | dev-perl/Moose: Mark ~ppc64 (bug #555892). (diff) | |
download | gentoo-e94a5aeb22c4fbbb2de191403c09aec881849ccd.tar.gz gentoo-e94a5aeb22c4fbbb2de191403c09aec881849ccd.tar.bz2 gentoo-e94a5aeb22c4fbbb2de191403c09aec881849ccd.zip |
sys-devel/kgcc64: Version bump.
Package-Manager: portage-2.2.20.1
Diffstat (limited to 'sys-devel/kgcc64')
-rw-r--r-- | sys-devel/kgcc64/Manifest | 2 | ||||
-rw-r--r-- | sys-devel/kgcc64/kgcc64-4.9.3.ebuild | 56 |
2 files changed, 58 insertions, 0 deletions
diff --git a/sys-devel/kgcc64/Manifest b/sys-devel/kgcc64/Manifest index a47a084bdff2..1bc1a1753047 100644 --- a/sys-devel/kgcc64/Manifest +++ b/sys-devel/kgcc64/Manifest @@ -34,3 +34,5 @@ DIST gcc-4.9.1-patches-1.0.tar.bz2 18918 SHA256 5addded7684318fd7ad16dba5a1407c2 DIST gcc-4.9.1.tar.bz2 89854120 SHA256 d334781a124ada6f38e63b545e2a3b8c2183049515a1abab6d513f109f1d717e SHA512 8598106a4b7c03bb4d6e29fa1bfa9ee6b6390d1f1bca86c1ccd27aed830ae1d126daa50c4041016cbfa76090dd66c51f1ce06958b8ccd6c3be51eae875125593 WHIRLPOOL 45c663aca6fe3212cf6ff34611df3041204b942aedf5005b133f6ab4c40c994d405a9356429a06279b533706960d8ef80f363dd4ee7e78848052e621c49ad681 DIST gcc-4.9.2-patches-1.2.tar.bz2 19658 SHA256 8cc5f7a82aca3fdee3c4f8b3542ba7a4431dfe5e511b6c11232d830bfa01d998 SHA512 9fca6ee31c817d667f01954bc517a4c4d5bd13b796253f111ef87a5a0eab01ae9b19c8f60c9074fbdfc81763886bc05fa2aae4cb3c5cbe01901e4a5791cecf6f WHIRLPOOL ea46cf1f779aff553beb28a4118a223af10ec44ff67cfdbc50514202b40799ccf641bb8d45e67c3935eaf231b03c738ca965bd16b2c2569b6f184a240d3bc56f DIST gcc-4.9.2.tar.bz2 89939747 SHA256 2020c98295856aa13fda0f2f3a4794490757fc24bcca918d52cc8b4917b972dd SHA512 e96cba06d572dbe7f382a2b00fd9297dcf9f9219d46a9ad0bd904dc36d5e7db3335e422640b79a27fed6fde91b0731732b94a0e2fbcd47344d6779f8ba1f4f9c WHIRLPOOL c4afdd0ec98e6f903044f1d3061fd96cf1e9bcbe2f90c388f5bc9ff8b2493b94367e84fdff7c2075ba37e2f950ecf2dba7c11786c653c2c7e86a5e8ff7d98e85 +DIST gcc-4.9.3-patches-1.2.tar.bz2 23657 SHA256 1eb0b19e9f048ba30b897154aa51d4c84e5c65eeaa35faa2614af5219b06529b SHA512 05eeb60c7b8a99f3b283caea06a8e1a015c41756496b67ed912467cb437dcb9d3bcefc235e6e1dd79c6f7364f378af6a3ebf52b333610a25a6f85cb10c4394b6 WHIRLPOOL d457b4fe4257cc4ef57317187b979d0a97f5c55d8ba4ddd2133e37d1f63299bfe35c3e11ab4efecc5c4f0361789773e5035b216d7fbbe4cdf4bc0c41be0aa655 +DIST gcc-4.9.3.tar.bz2 90006707 SHA256 2332b2a5a321b57508b9031354a8503af6fdfb868b8c1748d33028d100a8b67e SHA512 9ac57377a6975fc7adac704ec81355262b9f537def6955576753b87715470a20ee6a2a3144a79cc8fcba3443f7b44c7337d79d704b522d053f54f79aa6b442df WHIRLPOOL 085e4cc1825b031652cbe9e098671f761acfeca64c6cc9b8ad2a8961c13fcac9e02b4538b44dc38181a355266f2c55c99ce5a1bff3f2860b870285cf3f0e84a5 diff --git a/sys-devel/kgcc64/kgcc64-4.9.3.ebuild b/sys-devel/kgcc64/kgcc64-4.9.3.ebuild new file mode 100644 index 000000000000..52d8d573d1a6 --- /dev/null +++ b/sys-devel/kgcc64/kgcc64-4.9.3.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 + +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.2" +GCC_FILESDIR=${FILESDIR/${PN}/gcc} + +inherit eutils toolchain + +DESCRIPTION="64bit kernel compiler" + +# Works on mips and sparc; all other archs, refer to bug #228115 +KEYWORDS="~hppa ~mips" + +RDEPEND=">=dev-libs/gmp-4.3.2 + >=dev-libs/mpfr-2.4.2 + >=dev-libs/mpc-0.8.1 + >=sys-devel/gcc-config-1.4" +# unlike every other target, hppa has not unified the 32/64 bit +# ports in binutils yet +DEPEND="${RDEPEND} + hppa? ( sys-devel/binutils-hppa64 ) + !sys-devel/gcc-hppa64 + !sys-devel/gcc-mips64 + !sys-devel/gcc-powerpc64 + !sys-devel/gcc-sparc64 + >=sys-apps/texinfo-4.8 + >=sys-devel/bison-1.875" + +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 +} |