gcc-4.5.4.ebuild 687 B

123456789101112131415161718192021222324252627282930
  1. # Copyright 1999-2016 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI="5"
  4. PATCH_VER="1.3"
  5. UCLIBC_VER="1.0"
  6. inherit eutils toolchain
  7. KEYWORDS="alpha amd64 arm hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd"
  8. RDEPEND=""
  9. DEPEND="${RDEPEND}
  10. elibc_glibc? ( >=sys-libs/glibc-2.8 )
  11. ppc? ( >=${CATEGORY}/binutils-2.17 )
  12. ppc64? ( >=${CATEGORY}/binutils-2.17 )
  13. >=${CATEGORY}/binutils-2.15.94"
  14. if [[ ${CATEGORY} != cross-* ]] ; then
  15. PDEPEND="${PDEPEND} elibc_glibc? ( >=sys-libs/glibc-2.8 )"
  16. fi
  17. src_prepare() {
  18. toolchain_src_prepare
  19. use vanilla && return 0
  20. sed -i 's/use_fixproto=yes/:/' gcc/config.gcc #PR33200
  21. }