summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schlemmer <azarah@gentoo.org>2003-11-09 15:43:27 +0000
committerMartin Schlemmer <azarah@gentoo.org>2003-11-09 15:43:27 +0000
commit16a338db1969cf35ad858f258674c715d98746cc (patch)
tree4bb005182711244a45d2d5e442f1c00f5543ce2a /sys-devel/binutils/binutils-2.14.90.0.6-r7.ebuild
parentFix sparc64/mips64 symlinks to point to /usr/sparc-*/bin/*. Do not apply (diff)
downloadgentoo-2-16a338db1969cf35ad858f258674c715d98746cc.tar.gz
gentoo-2-16a338db1969cf35ad858f258674c715d98746cc.tar.bz2
gentoo-2-16a338db1969cf35ad858f258674c715d98746cc.zip
Fix sparc64/mips64 symlinks to point to /usr/sparc-*/bin/*. Do not apply
-ppc-reloc.patch to sparc as ld quits with SIGBUS.
Diffstat (limited to 'sys-devel/binutils/binutils-2.14.90.0.6-r7.ebuild')
-rw-r--r--sys-devel/binutils/binutils-2.14.90.0.6-r7.ebuild8
1 files changed, 5 insertions, 3 deletions
diff --git a/sys-devel/binutils/binutils-2.14.90.0.6-r7.ebuild b/sys-devel/binutils/binutils-2.14.90.0.6-r7.ebuild
index 4f0fdb77b2e4..6b1f48a9ed4c 100644
--- a/sys-devel/binutils/binutils-2.14.90.0.6-r7.ebuild
+++ b/sys-devel/binutils/binutils-2.14.90.0.6-r7.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/binutils/binutils-2.14.90.0.6-r7.ebuild,v 1.3 2003/11/05 00:50:16 brad_mssw Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/binutils/binutils-2.14.90.0.6-r7.ebuild,v 1.4 2003/11/09 15:43:16 azarah Exp $
IUSE="nls bootstrap build"
@@ -185,9 +185,11 @@ src_install() {
then
dosym ${CHOST} /usr/${CHOST/-/64-}
- for x in `ls ${D}/usr/${CHOST/-/64-}/bin/`
+ for x in `ls ${D}/usr/${CHOST}/bin/`
do
- dosym ../${CHOST/-/64-}/bin/${x} /usr/bin/${CHOST/-/64-}-${x}
+ [ ! -e "${D}/usr/bin/${CHOST}-${x}" ] && \
+ dosym ../${CHOST}/bin/${x} /usr/bin/${CHOST}-${x}
+ dosym ../${CHOST}/bin/${x} /usr/bin/${CHOST/-/64-}-${x}
done
fi