for unknown arches, default TARCH to * as suggested by Diego #171466
authorMike Frysinger <vapier@gentoo.org>
Tue, 20 Mar 2007 00:46:00 +0000 (00:46 +0000)
committerMike Frysinger <vapier@gentoo.org>
Tue, 20 Mar 2007 00:46:00 +0000 (00:46 +0000)
Package-Manager: portage-2.1.2.2

sys-devel/crossdev/Manifest
sys-devel/crossdev/files/crossdev

index 5c6f85d09a99665c7055cdb558d983c72e10a8a5..d85109e24cde6202cb48315d2fe000e066b6c748 100644 (file)
@@ -1,10 +1,10 @@
 -----BEGIN PGP SIGNED MESSAGE-----
 Hash: SHA1
 
-AUX crossdev 17735 RMD160 29959485df86d4749b9ca65782443133e75e55db SHA1 10226ea81f179e1eba4863abb71f3197c4fda614 SHA256 9e85ec7fd3a851dc6d048f756083a0b2415a0904530eaf8d91a9f9b0651a729e
-MD5 30eb0f979daedc6d19ccc9cea54dd841 files/crossdev 17735
-RMD160 29959485df86d4749b9ca65782443133e75e55db files/crossdev 17735
-SHA256 9e85ec7fd3a851dc6d048f756083a0b2415a0904530eaf8d91a9f9b0651a729e files/crossdev 17735
+AUX crossdev 17728 RMD160 13499aab3d6cb06461eefbbbbf478be3fcba04d2 SHA1 75b6f3f9967bf38c6a7698e9e14f9206bbc5f387 SHA256 749df5293500dec9dabbcfbb3e3ab34ecc2662bd6e99fa5a0665d4c9ec68ea93
+MD5 1b64cf18c17683788d63edf6819de9c4 files/crossdev 17728
+RMD160 13499aab3d6cb06461eefbbbbf478be3fcba04d2 files/crossdev 17728
+SHA256 749df5293500dec9dabbcfbb3e3ab34ecc2662bd6e99fa5a0665d4c9ec68ea93 files/crossdev 17728
 AUX crossdev-stable 18230 RMD160 d96c9bca5e6ad87bc45141126a8922aaad76d9ae SHA1 f3dd6bc1569582c53fb5df3b655db7a28e99de32 SHA256 4420014cae659dc36cd5743388e6de081e45a9068d995543f1064d41b1fd41ad
 MD5 7ed8796bab49f0f9722d615ff871b4fd files/crossdev-stable 18230
 RMD160 d96c9bca5e6ad87bc45141126a8922aaad76d9ae files/crossdev-stable 18230
@@ -32,9 +32,9 @@ MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-crossdev-0.9.18 0
 RMD160 9c1185a5c5e9fc54612808977ee8f548b2258d31 files/digest-crossdev-0.9.18 0
 SHA256 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 files/digest-crossdev-0.9.18 0
 -----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.2 (GNU/Linux)
+Version: GnuPG v2.0.3 (GNU/Linux)
 
-iD8DBQFF3Omb8bi6rjpTunYRAmNoAJ481trW4IcOitYbho2CVc1MkgXmnACfWb6F
-wd5mpS0WKIa9XH7y+opgvG4=
-=0PhS
+iD8DBQFF/y7U8bi6rjpTunYRAlBhAJ9HDhJIXDXVtpBbsXPtjDcE/9HVrACg2AzE
+kKB2l+dnLGF3NFQgKDxVkeM=
+=RTqC
 -----END PGP SIGNATURE-----
index 1c71b4319e90dbc8cdee8416825f3ba29286f5e1..ecae0198eb1f83d45a56f86ca8f5cb02a03d7d69 100755 (executable)
@@ -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