summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2014-09-20 16:51:53 +0000
committerJeroen Roovers <jer@gentoo.org>2014-09-20 16:51:53 +0000
commitb06d68104526f0fddc55295e7b2bedb499f1f613 (patch)
tree9a905946521cf29197af9c0fe09349e2d661eb68 /sys-devel/kgcc64
parentmedia-gfx/shotwell: Version BUmp, #523288; drop old (diff)
downloadgentoo-2-b06d68104526f0fddc55295e7b2bedb499f1f613.tar.gz
gentoo-2-b06d68104526f0fddc55295e7b2bedb499f1f613.tar.bz2
gentoo-2-b06d68104526f0fddc55295e7b2bedb499f1f613.zip
Version bump.
(Portage version: 2.2.13/cvs/Linux x86_64, signed Manifest commit with key A792A613)
Diffstat (limited to 'sys-devel/kgcc64')
-rw-r--r--sys-devel/kgcc64/ChangeLog7
-rw-r--r--sys-devel/kgcc64/kgcc64-4.9.1.ebuild56
2 files changed, 62 insertions, 1 deletions
diff --git a/sys-devel/kgcc64/ChangeLog b/sys-devel/kgcc64/ChangeLog
index a6592d259505..a660a38a2d76 100644
--- a/sys-devel/kgcc64/ChangeLog
+++ b/sys-devel/kgcc64/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-devel/kgcc64
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/kgcc64/ChangeLog,v 1.57 2014/09/17 08:22:51 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/kgcc64/ChangeLog,v 1.58 2014/09/20 16:51:53 jer Exp $
+
+*kgcc64-4.9.1 (20 Sep 2014)
+
+ 20 Sep 2014; Jeroen Roovers <jer@gentoo.org> +kgcc64-4.9.1.ebuild:
+ Version bump.
17 Sep 2014; Jeroen Roovers <jer@gentoo.org> kgcc64-4.8.3.ebuild:
Stable for HPPA too.
diff --git a/sys-devel/kgcc64/kgcc64-4.9.1.ebuild b/sys-devel/kgcc64/kgcc64-4.9.1.ebuild
new file mode 100644
index 000000000000..ac772711d31d
--- /dev/null
+++ b/sys-devel/kgcc64/kgcc64-4.9.1.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/kgcc64/kgcc64-4.9.1.ebuild,v 1.1 2014/09/20 16:51:53 jer Exp $
+
+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.0"
+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=""
+
+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
+}