summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-08-20 07:36:08 +0000
committerMike Frysinger <vapier@gentoo.org>2005-08-20 07:36:08 +0000
commit7643b42b6bb01ca5445e1bd2dcc7698da8f30ee5 (patch)
tree6a24ecd1717f4492a71fe65e5af6cd405fb8f583
parentsh stabilize and sync some fixes with psm (diff)
downloadhistorical-7643b42b6bb01ca5445e1bd2dcc7698da8f30ee5.tar.gz
historical-7643b42b6bb01ca5445e1bd2dcc7698da8f30ee5.tar.bz2
historical-7643b42b6bb01ca5445e1bd2dcc7698da8f30ee5.zip
add some more sanity checks so spb will shut up
Package-Manager: portage-2.0.51.22-r2
-rw-r--r--sys-devel/gcc-config/Manifest28
-rwxr-xr-xsys-devel/gcc-config/files/gcc-config-1.3.1210
2 files changed, 22 insertions, 16 deletions
diff --git a/sys-devel/gcc-config/Manifest b/sys-devel/gcc-config/Manifest
index 65d647fd94df..1a3e40162625 100644
--- a/sys-devel/gcc-config/Manifest
+++ b/sys-devel/gcc-config/Manifest
@@ -1,30 +1,30 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-MD5 c3f2535a7028dc981a7bbf4e5b0e2c24 ChangeLog 20368
-MD5 e1e82310909ead9c8b474d56cb94ee8c gcc-config-1.3.10-r1.ebuild 1393
-MD5 8ddb51e4d22a768b490aea079b28c334 gcc-config-1.3.11-r3.ebuild 1387
MD5 afc6f633e9ba456750668a4b552c9593 gcc-config-1.3.11-r4.ebuild 1379
-MD5 4f38cac9c208dfd3f4e8b798a8108366 gcc-config-1.3.12.ebuild 1389
-MD5 567094e03359ffc1c95af7356395228d metadata.xml 162
MD5 e7cff05773a87f50205a8777e899b626 gcc-config-1.3.12-r1.ebuild 1392
MD5 cd10419eb3bb6bca89691a1d3679f324 gcc-config-1.3.12-r2.ebuild 1392
-MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-gcc-config-1.3.10-r1 0
-MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-gcc-config-1.3.11-r3 0
+MD5 567094e03359ffc1c95af7356395228d metadata.xml 162
+MD5 8ddb51e4d22a768b490aea079b28c334 gcc-config-1.3.11-r3.ebuild 1387
+MD5 e1e82310909ead9c8b474d56cb94ee8c gcc-config-1.3.10-r1.ebuild 1393
+MD5 c3f2535a7028dc981a7bbf4e5b0e2c24 ChangeLog 20368
+MD5 4f38cac9c208dfd3f4e8b798a8108366 gcc-config-1.3.12.ebuild 1389
+MD5 d153788edf3039aa4f68ae41bf46bf0d files/gcc-config-1.3.11 15776
MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-gcc-config-1.3.11-r4 0
MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-gcc-config-1.3.12 0
+MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-gcc-config-1.3.11-r3 0
MD5 4c31f7f5f8723588a4401dd102061301 files/gcc-config-1.3.10 13549
-MD5 d153788edf3039aa4f68ae41bf46bf0d files/gcc-config-1.3.11 15776
-MD5 54a824d672dd61f30610bb3ddf052c37 files/gcc-config-1.3.12 16016
+MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-gcc-config-1.3.12-r2 0
MD5 e3203a5aa6df669ffa479aeeb7605029 files/wrapper-1.4.5.c 10671
+MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-gcc-config-1.3.10-r1 0
+MD5 1b19cf481e2777dff9722f36698c3b24 files/wrapper-1.4.7.c 9837
MD5 72557949fda7b1226549291b8f171e15 files/wrapper-1.4.6.c 10568
+MD5 94f79c9743fc9a40b2203f90bbd42b88 files/gcc-config-1.3.12 16247
MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-gcc-config-1.3.12-r1 0
-MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-gcc-config-1.3.12-r2 0
-MD5 1b19cf481e2777dff9722f36698c3b24 files/wrapper-1.4.7.c 9837
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
-iD8DBQFC+GqjArHZZzCEUG0RAreeAJ9JIeBdCg4BRWRuE9smmp6CJX9Z/QCcDsfe
-HLvtAEx7Dcboi54zbK1Lt8o=
-=4QTP
+iD8DBQFDBt2VgIKl8Uu19MoRAjXMAJ0eddNOGuZ+NLEbpLg6Z4HNhrY+kACfajJl
+KEObq1HasnqNYwsn3VM5dCg=
+=XrIU
-----END PGP SIGNATURE-----
diff --git a/sys-devel/gcc-config/files/gcc-config-1.3.12 b/sys-devel/gcc-config/files/gcc-config-1.3.12
index 0d3519b2c4f9..9366d86756e4 100755
--- a/sys-devel/gcc-config/files/gcc-config-1.3.12
+++ b/sys-devel/gcc-config/files/gcc-config-1.3.12
@@ -1,7 +1,7 @@
#!/bin/bash
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc-config/files/gcc-config-1.3.12,v 1.3 2005/08/05 15:21:19 azarah Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc-config/files/gcc-config-1.3.12,v 1.4 2005/08/20 07:36:08 vapier Exp $
trap ":" INT QUIT TSTP
@@ -93,7 +93,10 @@ get_real_chost() {
if [[ -z ${REAL_CHOST} ]] ; then
eerror "$0: Could not get portage CHOST!"
- return 1
+ eerror "$0: You should verify that CHOST is set in one of these places:"
+ eerror "$0: - ${ROOT}/etc/make.conf"
+ eerror "$0: - active environment"
+ exit 1
fi
}
@@ -463,6 +466,9 @@ for x in "$@" ; do
-O|--use-old)
if get_current_profile &>/dev/null ; then
CC_COMP="$(get_current_profile)"
+ else
+ eerror "No profile selected, unable to utilize --use-old"
+ exit 1
fi
;;
-f|--force)