Fixed Bug 72557, where gcc-config would get very confused with non-gcc-lib ldpaths
authorTravis Tilley <lv@gentoo.org>
Sun, 28 Nov 2004 16:39:49 +0000 (16:39 +0000)
committerTravis Tilley <lv@gentoo.org>
Sun, 28 Nov 2004 16:39:49 +0000 (16:39 +0000)
sys-devel/gcc-config/ChangeLog
sys-devel/gcc-config/Manifest
sys-devel/gcc-config/files/digest-gcc-config-1.3.6-r4 [moved from sys-devel/gcc-config/files/digest-gcc-config-1.3.6-r3 with 100% similarity]
sys-devel/gcc-config/files/digest-gcc-config-1.3.7-r2 [moved from sys-devel/gcc-config/files/digest-gcc-config-1.3.7-r1 with 100% similarity]
sys-devel/gcc-config/files/gcc-config-1.3.6
sys-devel/gcc-config/files/gcc-config-1.3.7
sys-devel/gcc-config/gcc-config-1.3.6-r4.ebuild [moved from sys-devel/gcc-config/gcc-config-1.3.6-r3.ebuild with 97% similarity]
sys-devel/gcc-config/gcc-config-1.3.7-r2.ebuild [moved from sys-devel/gcc-config/gcc-config-1.3.7-r1.ebuild with 97% similarity]

index 17256f31abf2682d07f972436b765bba4982a357..beb3a0ccdee5090069615780b588122b3dea5528 100644 (file)
@@ -1,6 +1,15 @@
 # ChangeLog for sys-devel/gcc-config
 # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc-config/ChangeLog,v 1.64 2004/10/26 18:15:30 azarah Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc-config/ChangeLog,v 1.65 2004/11/28 16:39:49 lv Exp $
+
+*gcc-config-1.3.7-r2 (28 Nov 2004)
+
+  28 Nov 2004; Travis Tilley <lv@gentoo.org> files/gcc-config-1.3.6,
+  files/gcc-config-1.3.7, -gcc-config-1.3.6-r3.ebuild,
+  +gcc-config-1.3.6-r4.ebuild, -gcc-config-1.3.7-r1.ebuild,
+  +gcc-config-1.3.7-r2.ebuild:
+  Fixed Bug 72557, where gcc-config would get very confused with non-gcc-lib
+  ldpaths
 
   26 Oct 2004; Martin Schlemmer <azarah@gentoo.org> +files/wrapper-1.4.3.c:
   Add GCCBITS support to wrapper.
index fafd48ef3cd3e4751a9c6fce97c63e9f73a737fe..82de2f4983b121f61adf489a43988eecf506ea7e 100644 (file)
@@ -1,10 +1,10 @@
-MD5 12a6abe6a3a2ed48dfb04a1eba513218 ChangeLog 12055
-MD5 a2d9bdf9289e087270255d4ace14b88b gcc-config-1.3.6-r3.ebuild 2640
+MD5 fb92a87e88e95710087422ef18122a62 ChangeLog 12390
 MD5 567094e03359ffc1c95af7356395228d metadata.xml 162
-MD5 cf613ce812b75ec6355c3a368f09aa87 gcc-config-1.3.7-r1.ebuild 2241
-MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-gcc-config-1.3.6-r3 0
-MD5 2902e905147ff6ba0703f0f72660aa9a files/wrapper-1.4.3.c 8434
-MD5 f9ac19eaceaad00963038bc3d3d11b98 files/gcc-config-1.3.6 10163
-MD5 1bc5a05334c1d92a5aa3ed9614e465ea files/gcc-config-1.3.7 11225
+MD5 5e7e8f8d7232831caffe9be66ae6e6cc gcc-config-1.3.7-r2.ebuild 2237
+MD5 0a250a07d02f1343f64fe7f7bbdbd820 gcc-config-1.3.6-r4.ebuild 2636
 MD5 e64a89abafa7f6f7d16c2540fb0edcf4 files/wrapper-1.4.2.c 7381
-MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-gcc-config-1.3.7-r1 0
+MD5 2902e905147ff6ba0703f0f72660aa9a files/wrapper-1.4.3.c 8434
+MD5 9e12dace91fe2992fd43427b5f686a49 files/gcc-config-1.3.7 11339
+MD5 5f5ba2d67203ed8386ae76352f15000d files/gcc-config-1.3.6 10285
+MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-gcc-config-1.3.6-r4 0
+MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-gcc-config-1.3.7-r2 0
index c13c8b49128a6772b06105ecd9df9505331efb0a..95ea46653b73720ef37060055ca423658afc0d3a 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/bash
 # Copyright 1999-2004 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.6,v 1.8 2004/10/11 14:36:40 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc-config/files/gcc-config-1.3.6,v 1.9 2004/11/28 16:39:49 lv Exp $
 # Author:  Martin Schlemmer <azarah@gentoo.org>
 
 source /etc/init.d/functions.sh || {
@@ -459,10 +459,14 @@ fi
 
 CC_COMP_NO_SPECS=$(echo ${CC_COMP} | awk -F- '{ print $1"-"$2"-"$3"-"$4"-"$5 }')
 
-if [ ! -d "/usr/lib/gcc-lib/${CC_COMP_NO_SPECS%-*}/${CC_COMP_NO_SPECS##*-}" -o \
+GCC_LIB="$(source /etc/env.d/gcc/${CC_COMP}
+       cmd_setup
+       echo ${LDPATH} | ${AWK} -F/ '{ print  "/"$2"/"$3"/"$4"/" }')"
+
+if [ ! -d "${ROOT}/${GCC_LIB}/${CC_COMP_NO_SPECS%-*}/${CC_COMP_NO_SPECS##*-}" -o \
      ! -f "/etc/env.d/gcc/${CC_COMP}" ]
 then
-       eerror "$0: Profile does not exist or invalid setting for /etc/env.d/gcc/${CC_COMP}"
+       eerror "$0: Profile does not exist or invalid setting for /etc/env.d/gcc/${CC_COMP}" 1>&2
        #exit 1
 fi
 
index bb55be01e45b3558b9bd0536f220af32b39faa0c..99c7aad4e52458c789b5c766161d329d07737d0a 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/bash
 # Copyright 1999-2004 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.7,v 1.4 2004/10/26 04:05:36 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc-config/files/gcc-config-1.3.7,v 1.5 2004/11/28 16:39:49 lv Exp $
 # Author:  Martin Schlemmer <azarah@gentoo.org>
 
 trap ":" INT QUIT TSTP
@@ -486,10 +486,14 @@ fi
 
 CC_COMP_NO_SPECS=$(echo ${CC_COMP} | awk -F- '{ print $1"-"$2"-"$3"-"$4"-"$5 }')
 
-if [ ! -d "${ROOT}/usr/lib/gcc-lib/${CC_COMP_NO_SPECS%-*}/${CC_COMP_NO_SPECS##*-}" -o \
+GCC_LIB=$(source "${GCC_ENV_D}/${CC_COMP}" 
+       cmd_setup
+       echo ${LDPATH} | ${AWK} -F/ '{ print  "/"$2"/"$3"/"$4"/" }')
+
+if [ ! -d "${ROOT}/${GCC_LIB}/${CC_COMP_NO_SPECS%-*}/${CC_COMP_NO_SPECS##*-}" -o \
      ! -f "${GCC_ENV_D}/${CC_COMP}" ]
 then
-       eerror "$0: Profile does not exist or invalid setting for ${GCC_ENV_D}/${CC_COMP}"
+       eerror "$0: Profile does not exist or invalid setting for ${GCC_ENV_D}/${CC_COMP}" 1>&2
        #exit 1
 fi
 
similarity index 97%
rename from sys-devel/gcc-config/gcc-config-1.3.6-r3.ebuild
rename to sys-devel/gcc-config/gcc-config-1.3.6-r4.ebuild
index 64819e7d1e8bf438acbc206646eddfff26426013..916360655773d9582c3443c6b09b69359b54c09d 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2004 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc-config/gcc-config-1.3.6-r3.ebuild,v 1.5 2004/11/12 17:05:01 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc-config/gcc-config-1.3.6-r4.ebuild,v 1.1 2004/11/28 16:39:49 lv Exp $
 
 inherit toolchain-funcs
 
similarity index 97%
rename from sys-devel/gcc-config/gcc-config-1.3.7-r1.ebuild
rename to sys-devel/gcc-config/gcc-config-1.3.7-r2.ebuild
index 91295022f8534dc386fa06752f18724d2d4ac6e2..29f7334f84792f0eb3f3fbf67aa683650c68d04c 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2004 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc-config/gcc-config-1.3.7-r1.ebuild,v 1.3 2004/11/12 17:05:01 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc-config/gcc-config-1.3.7-r2.ebuild,v 1.1 2004/11/28 16:39:49 lv Exp $
 
 inherit toolchain-funcs