summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-01-02 06:06:27 +0000
committerMike Frysinger <vapier@gentoo.org>2005-01-02 06:06:27 +0000
commita09b27b0413bd2fd596a6ab669964fa6d2d8f951 (patch)
treeadc244d23924c55a48fe3431bb65b2040841c68e /sys-devel/binutils-config
parentversion bump (diff)
downloadhistorical-a09b27b0413bd2fd596a6ab669964fa6d2d8f951.tar.gz
historical-a09b27b0413bd2fd596a6ab669964fa6d2d8f951.tar.bz2
historical-a09b27b0413bd2fd596a6ab669964fa6d2d8f951.zip
dont fake targets if they have a binutils-config entry
Diffstat (limited to 'sys-devel/binutils-config')
-rw-r--r--sys-devel/binutils-config/Manifest8
-rwxr-xr-xsys-devel/binutils-config/files/binutils-config-1.64
2 files changed, 7 insertions, 5 deletions
diff --git a/sys-devel/binutils-config/Manifest b/sys-devel/binutils-config/Manifest
index c88e54dcb4a7..50569c57d40a 100644
--- a/sys-devel/binutils-config/Manifest
+++ b/sys-devel/binutils-config/Manifest
@@ -5,14 +5,14 @@ MD5 4f942db37990035aa40c87e1d7408536 binutils-config-1.6.ebuild 599
MD5 4d7086c60b2d65a9b47b5d5adbb18926 ChangeLog 1765
MD5 567094e03359ffc1c95af7356395228d metadata.xml 162
MD5 6e7f6a4cb7c00c84049f7a819d5662e2 binutils-config-1.5-r1.ebuild 602
-MD5 246f8d1240c19552f92961454af001bd files/binutils-config-1.6 7332
+MD5 8b0d1309593f44fb846b20a739f878dc files/binutils-config-1.6 7444
MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-binutils-config-1.6 0
MD5 e46b2b4d8cc5664342ecd81d8079fd52 files/binutils-config-1.5 6845
MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-binutils-config-1.5-r1 0
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.9.10 (GNU/Linux)
-iD8DBQFB123AroRuSHgZdywRAiq8AJ9R+gs2kiL7UaN2qCwJMNvsKGLOvgCfWxoh
-Ck2ppoou9SnL/Zd3sl9CdJ4=
-=oSon
+iD8DBQFB1490roRuSHgZdywRAsSkAKCA2tR1Wh8APeWjCFkIHzMVvm7y8wCgkvFW
+Y4zzTMjwKQl/lcr/0WLXM/s=
+=/Vzy
-----END PGP SIGNATURE-----
diff --git a/sys-devel/binutils-config/files/binutils-config-1.6 b/sys-devel/binutils-config/files/binutils-config-1.6
index 6f0cff44c265..d11df19ac4f0 100755
--- a/sys-devel/binutils-config/files/binutils-config-1.6
+++ b/sys-devel/binutils-config/files/binutils-config-1.6
@@ -1,7 +1,7 @@
#!/bin/bash
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/binutils-config/files/binutils-config-1.6,v 1.1 2005/01/02 03:42:40 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/binutils-config/files/binutils-config-1.6,v 1.2 2005/01/02 06:06:27 vapier Exp $
# Format of /etc/env.d/binutils/:
# config-TARGET: CURRENT=version for TARGET
@@ -73,7 +73,9 @@ switch_profile() {
mkdir -p "${ROOT}"/usr/${TARGET}/bin
for x in * ; do
ln -sf "${BINPATH}/${x}" "${ROOT}"/usr/${TARGET}/bin/${x}
+ ln -sf ../${TARGET}/bin/${x} "${ROOT}"/usr/bin/${TARGET}-${x}
for fake in ${FAKE_TARGETS} ; do
+ [[ -f ${ENV_D}/config-${fake} ]] && continue
ln -sf ../${TARGET}/bin/${x} "${ROOT}"/usr/bin/${fake}-${x}
done
if [[ ${TARGET} = "${HOST}" ]] ; then