Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 61147 Details for
Bug 95928
binutils-2.16.1 fails to call /usr/bin/binutils-config
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
toolchain-binutils.eclass.patch
toolchain-binutils.eclass.patch (text/plain), 1.25 KB, created by
SpanKY
on 2005-06-13 06:07:33 UTC
(
hide
)
Description:
toolchain-binutils.eclass.patch
Filename:
MIME Type:
Creator:
SpanKY
Created:
2005-06-13 06:07:33 UTC
Size:
1.25 KB
patch
obsolete
>Index: toolchain-binutils.eclass >=================================================================== >RCS file: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v >retrieving revision 1.38 >diff -u -p -r1.38 toolchain-binutils.eclass >--- toolchain-binutils.eclass 13 Jun 2005 10:18:05 -0000 1.38 >+++ toolchain-binutils.eclass 13 Jun 2005 13:06:01 -0000 >@@ -237,8 +237,7 @@ toolchain-binutils_pkg_postinst() { > } > > toolchain-binutils_pkg_postrm() { >- local choice=$(binutils-config -l | grep ${CTARGET} | grep -v ${CTARGET}-${PV}) >- choice=${choice/\* } >+ local current_profile=$(binutils-config -c ${CTARGET}) > > # If no other versions exist, then uninstall for this > # target ... otherwise, switch to the newest version >@@ -246,7 +245,10 @@ toolchain-binutils_pkg_postrm() { > # rerun binutils-config if this is a remerge, as > # we want the mtimes on the symlinks updated (if > # it is the same as the current selected profile) >- if [[ ! -e ${BINPATH}/ld ]] ; then >+ if [[ ! -e ${BINPATH}/ld ]] && [[ ${current_profile} == ${CTARGET}-${PV} ]] ; then >+ local choice=$(binutils-config -l | grep ${CTARGET} | awk '{print $2}') >+ choice=${choice//$'\n'/ } >+ choice=${choice/* } > if [[ -z ${choice} ]] ; then > binutils-config -u ${CTARGET} > else
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 95928
: 61147