summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-11-16 21:58:18 +0000
committerMike Frysinger <vapier@gentoo.org>2006-11-16 21:58:18 +0000
commit132a6f045e30a3da94e556f8deab55125ae74f66 (patch)
tree4b219aea3b409814cc62d56e566999c835b99e0f /sys-devel/crossdev
parentBump to 0.13.9. (diff)
downloadgentoo-2-132a6f045e30a3da94e556f8deab55125ae74f66.tar.gz
gentoo-2-132a6f045e30a3da94e556f8deab55125ae74f66.tar.bz2
gentoo-2-132a6f045e30a3da94e556f8deab55125ae74f66.zip
move blackfin back to vanilla gcc/binutils and make sure we dont insert dupliate entries into package.use
(Portage version: 2.1.2_rc1-r7)
Diffstat (limited to 'sys-devel/crossdev')
-rwxr-xr-xsys-devel/crossdev/files/crossdev6
1 files changed, 2 insertions, 4 deletions
diff --git a/sys-devel/crossdev/files/crossdev b/sys-devel/crossdev/files/crossdev
index f90aeb945b4b..31c4b4b5f51f 100755
--- a/sys-devel/crossdev/files/crossdev
+++ b/sys-devel/crossdev/files/crossdev
@@ -1,7 +1,7 @@
#!/bin/bash
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/crossdev/files/crossdev,v 1.79 2006/11/14 17:04:06 lu_zero Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/crossdev/files/crossdev,v 1.80 2006/11/16 21:58:18 vapier Exp $
cd /
@@ -109,8 +109,6 @@ parse_target() {
bfin*)
TARCH=${HARCH};
- BPKG="binutils-bfin";
- GPKG="gcc-bfin";
LPKG="uclibc";;
cris*)
@@ -493,10 +491,10 @@ set_use() {
[[ -z ${use} ]] && return 0
if [[ -f package.use ]] ; then
output="package.use"
- sed -i -e "/cross-${CTARGET}\/${pkg}/d" ${output}
else
output="package.use/cross-${CTARGET}"
fi
+ [[ -e ${output} ]] && sed -i -e "/cross-${CTARGET}\/${pkg}/d" ${output}
echo "cross-${CTARGET}/${pkg} ${use}" >> ${output}
}
set_links() {