summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston <eradicator@gentoo.org>2005-10-05 10:04:24 +0000
committerJeremy Huddleston <eradicator@gentoo.org>2005-10-05 10:04:24 +0000
commitb42ed6c36f4741f3491f5ae2bc9fbc94eb5d0ba0 (patch)
treef128d1d56249ab0a45c4c54ff1280926913eb687 /app-admin
parentversion bump (diff)
downloadgentoo-2-b42ed6c36f4741f3491f5ae2bc9fbc94eb5d0ba0.tar.gz
gentoo-2-b42ed6c36f4741f3491f5ae2bc9fbc94eb5d0ba0.tar.bz2
gentoo-2-b42ed6c36f4741f3491f5ae2bc9fbc94eb5d0ba0.zip
Fixed get_bins for cross compilers.
(Portage version: 2.0.53_rc3)
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/eselect-compiler/ChangeLog10
-rw-r--r--app-admin/eselect-compiler/Manifest15
-rw-r--r--app-admin/eselect-compiler/eselect-compiler-2.0.0_beta2-r2.ebuild (renamed from app-admin/eselect-compiler/eselect-compiler-2.0.0_beta2-r1.ebuild)3
-rw-r--r--app-admin/eselect-compiler/files/digest-eselect-compiler-2.0.0_beta2-r2 (renamed from app-admin/eselect-compiler/files/digest-eselect-compiler-2.0.0_beta2-r1)0
-rw-r--r--app-admin/eselect-compiler/files/eselect-compiler-2.0.0_beta2-get_bins.patch17
5 files changed, 31 insertions, 14 deletions
diff --git a/app-admin/eselect-compiler/ChangeLog b/app-admin/eselect-compiler/ChangeLog
index 955cb1345126..a5c418b383d2 100644
--- a/app-admin/eselect-compiler/ChangeLog
+++ b/app-admin/eselect-compiler/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for app-admin/eselect-compiler
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-compiler/ChangeLog,v 1.6 2005/10/05 09:08:08 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-compiler/ChangeLog,v 1.7 2005/10/05 10:04:24 eradicator Exp $
+
+*eselect-compiler-2.0.0_beta2-r2 (05 Oct 2005)
+
+ 05 Oct 2005; Jeremy Huddleston <eradicator@gentoo.org>
+ +files/eselect-compiler-2.0.0_beta2-get_bins.patch,
+ -eselect-compiler-2.0.0_beta2-r1.ebuild,
+ +eselect-compiler-2.0.0_beta2-r2.ebuild:
+ Fixed get_bins for cross compilers.
*eselect-compiler-2.0.0_beta2-r1 (05 Oct 2005)
diff --git a/app-admin/eselect-compiler/Manifest b/app-admin/eselect-compiler/Manifest
index 274e7d2be98a..33640c707c25 100644
--- a/app-admin/eselect-compiler/Manifest
+++ b/app-admin/eselect-compiler/Manifest
@@ -1,16 +1,7 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
MD5 6e7b60299c7fb718fb0774be90f6c56d ChangeLog 1646
-MD5 5c1ff2c5d647220c1d8dc777eba12362 eselect-compiler-2.0.0_beta2-r1.ebuild 1731
-MD5 c7cf3a3617d90adfaacc7c2c012ddfb0 files/digest-eselect-compiler-2.0.0_beta2-r1 79
+MD5 69a67748b02186441b4f76d00e07c4a8 eselect-compiler-2.0.0_beta2-r2.ebuild 1771
+MD5 c7cf3a3617d90adfaacc7c2c012ddfb0 files/digest-eselect-compiler-2.0.0_beta2-r2 79
+MD5 07bd22a44342d1e065795e1928cf6942 files/eselect-compiler-2.0.0_beta2-get_bins.patch 564
MD5 381e44a2470aea23417bf589716517f0 files/eselect-compiler-2.0.0_beta2-ref.patch 836
MD5 bbad47da67de57c3cf780c0d0ffed175 files/eselect-compiler-2.0.0_beta2-specs.patch 471
MD5 567094e03359ffc1c95af7356395228d metadata.xml 162
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.2 (GNU/Linux)
-
-iD8DBQFDQ5gNOpjtAl+gMRURAi1/AKDUA06dDITt6ADVcJh376GD4mvmdwCgjtiY
-mkTRbW2M5jG3+beOVrhhD/Y=
-=sXvv
------END PGP SIGNATURE-----
diff --git a/app-admin/eselect-compiler/eselect-compiler-2.0.0_beta2-r1.ebuild b/app-admin/eselect-compiler/eselect-compiler-2.0.0_beta2-r2.ebuild
index f11f8cb3b980..cdcc5a4ed02b 100644
--- a/app-admin/eselect-compiler/eselect-compiler-2.0.0_beta2-r1.ebuild
+++ b/app-admin/eselect-compiler/eselect-compiler-2.0.0_beta2-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-compiler/eselect-compiler-2.0.0_beta2-r1.ebuild,v 1.1 2005/10/05 09:08:08 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-compiler/eselect-compiler-2.0.0_beta2-r2.ebuild,v 1.1 2005/10/05 10:04:24 eradicator Exp $
inherit eutils
@@ -25,6 +25,7 @@ src_unpack() {
cd ${S}
epatch ${FILESDIR}/${P}-ref.patch
epatch ${FILESDIR}/${P}-specs.patch
+ epatch ${FILESDIR}/${P}-get_bins.patch
}
pkg_postinst() {
diff --git a/app-admin/eselect-compiler/files/digest-eselect-compiler-2.0.0_beta2-r1 b/app-admin/eselect-compiler/files/digest-eselect-compiler-2.0.0_beta2-r2
index 72093159868e..72093159868e 100644
--- a/app-admin/eselect-compiler/files/digest-eselect-compiler-2.0.0_beta2-r1
+++ b/app-admin/eselect-compiler/files/digest-eselect-compiler-2.0.0_beta2-r2
diff --git a/app-admin/eselect-compiler/files/eselect-compiler-2.0.0_beta2-get_bins.patch b/app-admin/eselect-compiler/files/eselect-compiler-2.0.0_beta2-get_bins.patch
new file mode 100644
index 000000000000..5427f047f312
--- /dev/null
+++ b/app-admin/eselect-compiler/files/eselect-compiler-2.0.0_beta2-get_bins.patch
@@ -0,0 +1,17 @@
+Index: compiler.eselect.in
+===================================================================
+--- a/src/profile-manager/compiler.eselect.in (revision 203)
++++ a/src/profile-manager/compiler.eselect.in (working copy)
+@@ -90,9 +90,10 @@
+
+ local i=0
+ for file in ${dir}/* ; do
+- basefile="$(basename ${file})"
++ basefile=$(basename ${file})
++ basefile=${basefile#${prefix}-}
+
+- if [[ -x ${file} && ${basefile#${prefix}-} == ${basefile} ]] ; then
++ if [[ -x ${file} && ! -h ${file} ]] && ! has ${basefile} ${retval} ; then
+ if (( i == 0 )) ; then
+ (( i++ ))
+ else