diff options
Diffstat (limited to 'sys-devel/gcc-config')
-rw-r--r-- | sys-devel/gcc-config/Manifest | 14 | ||||
-rwxr-xr-x | sys-devel/gcc-config/files/gcc-config-1.4.0 | 10 |
2 files changed, 15 insertions, 9 deletions
diff --git a/sys-devel/gcc-config/Manifest b/sys-devel/gcc-config/Manifest index b22fcdf76981..30a56fce3bdd 100644 --- a/sys-devel/gcc-config/Manifest +++ b/sys-devel/gcc-config/Manifest @@ -17,10 +17,10 @@ AUX gcc-config-1.3.16 19744 RMD160 c48c1137113100e6fdc08a666638ac56eb60ebae SHA1 MD5 5fc3469999611894758a1b9c2365b719 files/gcc-config-1.3.16 19744 RMD160 c48c1137113100e6fdc08a666638ac56eb60ebae files/gcc-config-1.3.16 19744 SHA256 c4c3ada7597b7a8610873ff2b45b0137264821df870a1700fd278727c72e3717 files/gcc-config-1.3.16 19744 -AUX gcc-config-1.4.0 20280 RMD160 7433e86a42ca8be1a4c3aa9b97e5cf45cba7efd4 SHA1 1e66dbcd187b3f358ed947169eb711ba51ea5953 SHA256 f63114de3a655e2e5d0a73fe898721cadb31c5b54d56a35a5f2f63d35dcc0867 -MD5 51f64bdea2e18a015a9f2969e8935514 files/gcc-config-1.4.0 20280 -RMD160 7433e86a42ca8be1a4c3aa9b97e5cf45cba7efd4 files/gcc-config-1.4.0 20280 -SHA256 f63114de3a655e2e5d0a73fe898721cadb31c5b54d56a35a5f2f63d35dcc0867 files/gcc-config-1.4.0 20280 +AUX gcc-config-1.4.0 20504 RMD160 c3cc1471ac78e35fce7e583d56cc3864764d5fc9 SHA1 bc2284744beec8a2404d807150db20046a059ac0 SHA256 7e41af8f9b4f234ed0fbf92830d2c33c981bd24e6b62bae62e84c521d961c881 +MD5 df91e467656fa248798ce3c5cf4ea88f files/gcc-config-1.4.0 20504 +RMD160 c3cc1471ac78e35fce7e583d56cc3864764d5fc9 files/gcc-config-1.4.0 20504 +SHA256 7e41af8f9b4f234ed0fbf92830d2c33c981bd24e6b62bae62e84c521d961c881 files/gcc-config-1.4.0 20504 AUX wrapper-1.4.7.c 9837 RMD160 e4feac8cd8746ad7036ec32ff09f1b02d7eceaf8 SHA1 4aee9df408a84b22b4007bc9b74543dd8a6f4fc8 SHA256 f462c49721d291ce3b91c46e5fb8e567d6344f0e359e788301bac07065987744 MD5 1b19cf481e2777dff9722f36698c3b24 files/wrapper-1.4.7.c 9837 RMD160 e4feac8cd8746ad7036ec32ff09f1b02d7eceaf8 files/wrapper-1.4.7.c 9837 @@ -87,7 +87,7 @@ SHA256 ba21ae92f613fd0a6f34b3fda34d1d82c6b284c045481b9686b66fd9e373c21e files/di -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.5 (GNU/Linux) -iD8DBQFGqaNXp/wUKkr7RBoRAoZPAKCVSK3U+pD9QkwOpFmKjOXS2QGc0QCdE+Uz -fIFTdwYCIruA473HGWT+fPc= -=jTUG +iD8DBQFGtnS9p/wUKkr7RBoRAsv/AJoCdwrir4C5DhYfcW89AGBA5W40tQCeLBv4 +s7i95+EQ3HVB+yKnFdlZ+Gs= +=tyoX -----END PGP SIGNATURE----- diff --git a/sys-devel/gcc-config/files/gcc-config-1.4.0 b/sys-devel/gcc-config/files/gcc-config-1.4.0 index d9bec1662fa2..0558d5d64684 100755 --- a/sys-devel/gcc-config/files/gcc-config-1.4.0 +++ b/sys-devel/gcc-config/files/gcc-config-1.4.0 @@ -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/gcc-config/files/gcc-config-1.4.0,v 1.18 2007/07/25 14:33:01 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc-config/files/gcc-config-1.4.0,v 1.19 2007/08/06 01:08:09 vapier Exp $ trap ":" INT QUIT TSTP @@ -13,6 +13,12 @@ source /etc/init.d/functions.sh || { esyslog() { :; } umask 022 +# *BSD are plain stupid ... copy a GNU extension but don't just copy it, +# change it so it works differently. Wish Darwin did selective evolution +# on software developers. +SED=$(type -P gsed) +SED=${SED:-$(type -P sed)} + usage() { cat << "USAGE_END" Usage: gcc-config [options] [CC Profile] @@ -198,7 +204,7 @@ switch_profile() { source "${GCC_ENV_D}/${CC_COMP}" echo ${GCC_PATH:-${PATH:-${ROOTPATH}}} ) - sed -i \ + ${SED} -i \ -e '/^PATH=/d' \ -e '/^ROOTPATH=/d' \ -e '/^GCC_PATH=/d' \ |