diff options
Diffstat (limited to 'sys-devel/binutils/binutils-2.23.51.0.5.ebuild')
-rw-r--r-- | sys-devel/binutils/binutils-2.23.51.0.5.ebuild | 60 |
1 files changed, 0 insertions, 60 deletions
diff --git a/sys-devel/binutils/binutils-2.23.51.0.5.ebuild b/sys-devel/binutils/binutils-2.23.51.0.5.ebuild deleted file mode 100644 index 819175a..0000000 --- a/sys-devel/binutils/binutils-2.23.51.0.5.ebuild +++ /dev/null @@ -1,60 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/binutils/binutils-2.23.51.0.5.ebuild,v 1.1 2012/11/13 00:00:39 vapier Exp $ - -PATCHVER="1.0" -ELF2FLT_VER="" -inherit toolchain-binutils - -#KEYWORDS="~x64-freebsd ~x86-freebsd ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" - -src_unpack() { - toolchain-binutils_src_unpack - cd "${S}" - [[ $SYMLINK_LIB == yes ]] && - epatch "${FILESDIR}"/${PN}-2.20.51.0.1-linux-x86-on-amd64.patch - epatch "${FILESDIR}"/${PN}-2.22-mint.patch - epatch "${FILESDIR}"/${PN}-2.19.50.0.1-mint.patch -} - -src_compile() { - if has noinfo "${FEATURES}" \ - || ! type -p makeinfo >/dev/null - then - # binutils >= 2.17 (accidentally?) requires 'makeinfo' - export EXTRA_EMAKE="MAKEINFO=true" - fi - - case "${CTARGET}" in - *-interix*) EXTRA_ECONF="${EXTRA_ECONF} --without-gnu-ld --without-gnu-as" ;; - esac - - toolchain-binutils_src_compile -} - -src_install() { - toolchain-binutils_src_install - - case "${CTARGET}" in - *-interix*) - ln -s /opt/gcc.3.3/bin/as "${ED}${BINPATH}"/as || die "Cannot create as symlink" - sed -e "s,@SCRIPTDIR@,${EPREFIX}${LIBPATH}/ldscripts," \ - < "${FILESDIR}"/2.21-ldwrap-interix.sh \ - > "${ED}${BINPATH}"/ld \ - || die "Cannot create ld wrapper" - chmod a+x "${ED}${BINPATH}"/ld - - dodir "${LIBPATH}"/ldscripts - - # yes, this is "i586-pc-interix3" for SFU 3.5, SUA 5.2 and SUA 6.0 - # additionally insert the prefix as absolute top search dir... - for x in /opt/gcc.3.3/i586-pc-interix3/lib/ldscripts/i386pe_posix.*; do - sed -e 's, SEARCH_DIR("/usr/local/lib"); , SEARCH_DIR("/usr/lib/x86"); ,' \ - -e "s,^\(SEARCH_DIR(\),SEARCH_DIR(\"${EPREFIX}/lib\"); SEARCH_DIR(\"${EPREFIX}/usr/lib\"); \1," \ - < $x \ - > "${ED}${LIBPATH}"/ldscripts/${x##*/} \ - || die "Cannot occupy ldscripts" - done - ;; - esac -} |