Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 238971 Details for
Bug 323555
fortran.eclass forbids FC=${CHOST}-gfortran
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
allows programs to compile if FC=$(portageq envvar CHOST)-gfortran
fortran.eclass-CHOST.patch (text/plain), 1.25 KB, created by
Nathan Phillip Brink (binki) (RETIRED)
on 2010-07-16 01:35:03 UTC
(
hide
)
Description:
allows programs to compile if FC=$(portageq envvar CHOST)-gfortran
Filename:
MIME Type:
Creator:
Nathan Phillip Brink (binki) (RETIRED)
Created:
2010-07-16 01:35:03 UTC
Size:
1.25 KB
patch
obsolete
>Index: fortran.eclass >=================================================================== >RCS file: /var/cvsroot/gentoo-x86/eclass/fortran.eclass,v >retrieving revision 1.21 >diff -u -B -r1.21 fortran.eclass >--- fortran.eclass 7 Mar 2009 10:02:33 -0000 1.21 >+++ fortran.eclass 16 Jul 2010 01:32:09 -0000 >@@ -90,6 +90,12 @@ > ;; > esac > done >+ >+ # add the ${CHOST} variants so that one may do FC=$(potageq envvar CHOST)-gfortran >+ for A in ${AVAILABLE}; do >+ AVAILABLE="${AVAILABLE} ${CHOST}-${A}" >+ done >+ > AVAILABLE="${AVAILABLE/^[[:space:]]}" > use debug && echo ${AVAILABLE} > if [ -z "${AVAILABLE}" ]; then >@@ -172,7 +178,7 @@ > die "Wrong Fortran Compiler !" > fi > >- case ${MY_FORTRAN} in >+ case ${MY_FORTRAN/${CHOST}-} in > gfortran|g77|ifc|ifort|f2c|f95) > FORTRANC="${MY_FORTRAN}" > esac >@@ -186,8 +192,8 @@ > if [[ -z "${FORTRANC}" || ! -d "${FILESDIR}" ]]; then > return > fi >- local PATCHES=$(find ${FILESDIR} -name "${P}-${FORTRANC}-*") >- einfo "Applying patches for selected FORTRAN compiler: ${FORTRANC}" >+ local PATCHES=$(find ${FILESDIR} -name "${P}-${FORTRANC/${CHOST}-}-*") >+ einfo "Applying patches for selected FORTRAN compiler: ${FORTRANC} (${FORTRANC/${CHOST}-})" > local PATCH > if [ -n "${PATCHES}" ]; then > for PATCH in ${PATCHES}; do
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 323555
:
234939
|
234941
|
234943
| 238971