Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 302307 Details for
Bug 404319
app-admin/eselect-boost - better slotting approach for mpi.so
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to improve the way how eselect-boost manages Boost.MPI symlinks
eselect-boost.patch (text/plain), 1.10 KB, created by
Igor Krivenko
on 2012-02-18 00:47:28 UTC
(
hide
)
Description:
Patch to improve the way how eselect-boost manages Boost.MPI symlinks
Filename:
MIME Type:
Creator:
Igor Krivenko
Created:
2012-02-18 00:47:28 UTC
Size:
1.10 KB
patch
obsolete
>--- boost.eselect.old 2012-02-18 00:05:24.850689156 +0100 >+++ boost.eselect 2012-02-18 01:43:33.542120708 +0100 >@@ -53,7 +53,7 @@ > > local mod="mpi.so" > for moddir in "${ROOT}"/usr/lib64/python*/site-packages ; do >- if [ -L "${moddir}/${mod}" ] ; then >+ if [ -L "${moddir}/${mod}" ] && [[ "${moddir}" != boost ]]; then > rm "${moddir}/${mod}" || die -q "Unable to remove \"${moddir}/${mod}\" symlink" > else > [[ -e "${moddir}/${mod}" ]] && die -q "\"${moddir}/${mod}\" exists and isn't a symlink" >@@ -101,10 +101,14 @@ > > for t in ${python} ; do > pushd "$(dirname ${ROOT}${t})/.." 1>/dev/null >- local ts="$(basename $(dirname ${ROOT}${t}))/${t//*\/}" >+ local ts="$(basename $(dirname ${ROOT}${t}))" > ts="${ts//${suffix}}" >- local tt=${t//*\/} >- ln -s "${ts}" "${tt}" || die -q "Couldn't create symlink \"$(pwd)/${tt}\"" >+ if [ -L boost ] ; then >+ rm boost || die -q "Unable to remove \"$(pwd)/boost\" symlink" >+ else >+ [[ -e boost ]] && die -q "\"$(pwd)/boost\" exists and isn't a symlink" >+ fi >+ ln -s "${ts}" boost || die -q "Couldn't create symlink \"$(pwd)/boost\"" > popd 1>/dev/null > done > }
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 404319
: 302307