diff options
author | Mike Frysinger <vapier@gentoo.org> | 2007-03-20 00:46:00 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2007-03-20 00:46:00 +0000 |
commit | 5b3a67d0da563ee912ea8a25aaa39cccf33a51ce (patch) | |
tree | 740d0a0ace56b8eed518207f2baf75ecf3835c72 /sys-devel/crossdev | |
parent | 6.81 version bump for bug 171445, thanks to Tim Weber <gentoo.bugs at scytale... (diff) | |
download | gentoo-2-5b3a67d0da563ee912ea8a25aaa39cccf33a51ce.tar.gz gentoo-2-5b3a67d0da563ee912ea8a25aaa39cccf33a51ce.tar.bz2 gentoo-2-5b3a67d0da563ee912ea8a25aaa39cccf33a51ce.zip |
for unknown arches, default TARCH to * as suggested by Diego #171466
(Portage version: 2.1.2.2)
Diffstat (limited to 'sys-devel/crossdev')
-rwxr-xr-x | sys-devel/crossdev/files/crossdev | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sys-devel/crossdev/files/crossdev b/sys-devel/crossdev/files/crossdev index 1c71b4319e90..ecae0198eb1f 100755 --- a/sys-devel/crossdev/files/crossdev +++ b/sys-devel/crossdev/files/crossdev @@ -1,7 +1,7 @@ #!/bin/bash # Copyright 1999-2007 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.88 2007/02/22 00:52:34 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/crossdev/files/crossdev,v 1.89 2007/03/20 00:46:00 vapier Exp $ cd / umask 0022 #159111 @@ -134,7 +134,7 @@ parse_target() { s390*) TARCH=s390;; sh*) TARCH=sh;; x86_64*) TARCH=amd64;; - *) TARCH=${HARCH};; + *) TARCH="*";; esac case ${CTARGET} in *-freebsd*) TARCH="${TARCH}-fbsd";; @@ -173,16 +173,16 @@ parse_target() { ${CROSSDEV} -t iop || exit 1 ${CROSSDEV} -t dvp || exit 1 exit 0;; - ee*) TARCH="mips"; + ee*) TARCH=mips; KPKG="[none]" GVER="3.2.2"; BVER="2.14"; STAGE=${STAGE_C_ONLY}; GUSE=${GUSE_DISABLE};; - iop*) TARCH="mips"; + iop*) TARCH=mips; GVER="3.2.2"; BVER="2.14"; STAGE=${STAGE_C_ONLY}; GUSE=${GUSE_DISABLE};; - dvp*) TARCH="mips"; + dvp*) TARCH=mips; GVER="3.2.2"; BVER="2.14"; STAGE=${STAGE_BINUTILS};; esac @@ -462,7 +462,7 @@ set_keywords() { output="package.keywords/cross-${CTARGET}" fi if [[ ${ver} == "[latest]" ]] || [[ -z ${ver} ]] ; then - echo "cross-${CTARGET}/${pkg} $TARCH ~$TARCH" >> ${output} + echo "cross-${CTARGET}/${pkg} ${TARCH} ~${TARCH}" >> ${output} else echo "cross-${CTARGET}/${pkg} * ~* -*" >> ${output} if [[ -f package.mask ]] ; then |