diff options
author | 2011-07-26 01:17:23 +0000 | |
---|---|---|
committer | 2011-07-26 01:17:23 +0000 | |
commit | 3731837ed97abc78ccdd36a2a658d75b47ff8700 (patch) | |
tree | e9fa151c2eff76700224f8de0ac74a90ff4a683e /sys-devel | |
parent | Version bump. Bump. Not dump. (diff) | |
download | gentoo-2-3731837ed97abc78ccdd36a2a658d75b47ff8700.tar.gz gentoo-2-3731837ed97abc78ccdd36a2a658d75b47ff8700.tar.bz2 gentoo-2-3731837ed97abc78ccdd36a2a658d75b47ff8700.zip |
Version bump.
(Portage version: 2.2.0_alpha47/cvs/Linux i686)
Diffstat (limited to 'sys-devel')
-rw-r--r-- | sys-devel/kgcc64/ChangeLog | 7 | ||||
-rw-r--r-- | sys-devel/kgcc64/kgcc64-4.4.6.ebuild | 54 |
2 files changed, 60 insertions, 1 deletions
diff --git a/sys-devel/kgcc64/ChangeLog b/sys-devel/kgcc64/ChangeLog index 491a57a49160..b2ae716d0a05 100644 --- a/sys-devel/kgcc64/ChangeLog +++ b/sys-devel/kgcc64/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-devel/kgcc64 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/kgcc64/ChangeLog,v 1.35 2011/03/08 22:23:39 dirtyepic Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/kgcc64/ChangeLog,v 1.36 2011/07/26 01:17:23 jer Exp $ + +*kgcc64-4.4.6 (26 Jul 2011) + + 26 Jul 2011; Jeroen Roovers <jer@gentoo.org> +kgcc64-4.4.6.ebuild: + Version bump. 08 Mar 2011; Ryan Hill <dirtyepic@gentoo.org> kgcc64-4.4.4.ebuild, kgcc64-4.4.5.ebuild, kgcc64-4.5.2.ebuild: diff --git a/sys-devel/kgcc64/kgcc64-4.4.6.ebuild b/sys-devel/kgcc64/kgcc64-4.4.6.ebuild new file mode 100644 index 000000000000..7051518dcb8a --- /dev/null +++ b/sys-devel/kgcc64/kgcc64-4.4.6.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-devel/kgcc64/kgcc64-4.4.6.ebuild,v 1.1 2011/07/26 01:17:23 jer Exp $ + +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" +ETYPE="gcc-compiler" +GCC_FILESDIR=${FILESDIR/${PN}/gcc} + +inherit toolchain eutils + +DESCRIPTION="64bit kernel compiler" + +# Works on mips and sparc; all other archs, refer to bug #228115 +KEYWORDS="~hppa ~sparc" + +RDEPEND=">=dev-libs/gmp-4.2.1 + >=dev-libs/mpfr-2.3.2 + >=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 +} |