diff options
author | Mike Frysinger <vapier@gentoo.org> | 2014-07-13 16:03:51 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2014-07-13 16:03:51 +0000 |
commit | cb2b076417bfc989410f08dc42d5be029537f3b3 (patch) | |
tree | 433302728d2d48e4e9dc4283d98d108bb12accf0 /sys-devel/gcc/gcc-4.8.0_alpha20140710.ebuild | |
parent | update metadata (diff) | |
download | toolchain-cb2b076417bfc989410f08dc42d5be029537f3b3.tar.gz toolchain-cb2b076417bfc989410f08dc42d5be029537f3b3.tar.bz2 toolchain-cb2b076417bfc989410f08dc42d5be029537f3b3.zip |
update gcc snapshots
Diffstat (limited to 'sys-devel/gcc/gcc-4.8.0_alpha20140710.ebuild')
-rw-r--r-- | sys-devel/gcc/gcc-4.8.0_alpha20140710.ebuild | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/sys-devel/gcc/gcc-4.8.0_alpha20140710.ebuild b/sys-devel/gcc/gcc-4.8.0_alpha20140710.ebuild new file mode 100644 index 0000000..1330a37 --- /dev/null +++ b/sys-devel/gcc/gcc-4.8.0_alpha20140710.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="5" +GCC_FILESDIR="${PORTDIR}/sys-devel/gcc/files" + +inherit eutils toolchain + +DESCRIPTION="The GNU Compiler Collection." +LICENSE="GPL-3 LGPL-3 || ( GPL-3 libgcc libstdc++ gcc-runtime-library-exception-3.1 ) FDL-1.2" +KEYWORDS="" + +IUSE="debug" + +RDEPEND="" +DEPEND="${RDEPEND} + amd64? ( multilib? ( gcj? ( app-emulation/emul-linux-x86-xlibs ) ) ) + >=${CATEGORY}/binutils-2.18" + +if [[ ${CATEGORY} != cross-* ]] ; then + PDEPEND="${PDEPEND} elibc_glibc? ( >=sys-libs/glibc-2.12 )" +fi + +src_prepare() { + toolchain_src_prepare + + use debug && GCC_CHECKS_LIST="yes" + + use vanilla && return 0 + [[ ${CHOST} == ${CTARGET} ]] && epatch "${GCC_FILESDIR}"/gcc-spec-env-r1.patch +} + +pkg_postinst() { + toolchain_pkg_postinst + echo + einfo "This GCC ebuild is provided for your convenience, and the use" + einfo "of this compiler is not supported by the Gentoo Developers." + einfo "Please report bugs to upstream at http://gcc.gnu.org/bugzilla/" + echo +} |