aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2011-06-13 12:24:51 +0200
committerJustin Lecher <jlec@gentoo.org>2011-06-13 12:24:51 +0200
commit6827448370a750ee8641a68142f72adea415adcd (patch)
tree26dcd06168a11886f2dc42f8e0877fbc5584960c /eclass/fortran-2.eclass
parentmove to pkg_pretend for EAPI=4 (diff)
parent[fortran-2.eclass] remove unnecessary quotes (diff)
downloadsci-6827448370a750ee8641a68142f72adea415adcd.tar.gz
sci-6827448370a750ee8641a68142f72adea415adcd.tar.bz2
sci-6827448370a750ee8641a68142f72adea415adcd.zip
Merge branch 'master' of git+ssh://git.overlays.gentoo.org/proj/sci
* 'master' of git+ssh://git.overlays.gentoo.org/proj/sci: [fortran-2.eclass] remove unnecessary quotes
Diffstat (limited to 'eclass/fortran-2.eclass')
-rw-r--r--eclass/fortran-2.eclass12
1 files changed, 6 insertions, 6 deletions
diff --git a/eclass/fortran-2.eclass b/eclass/fortran-2.eclass
index 8d7c609a1..e5509bec6 100644
--- a/eclass/fortran-2.eclass
+++ b/eclass/fortran-2.eclass
@@ -50,7 +50,7 @@ _have-valid-fortran() {
# See if the fortran supports OpenMP.
_fortran-has-openmp() {
local flag
- case "$(tc-getFC)" in
+ case $(tc-getFC) in
*gfortran*|pathf*)
flag=-fopenmp ;;
ifort)
@@ -91,7 +91,7 @@ get_fcomp() {
echo "pathcc" ;;
mpi*)
local _fcomp=$($(tc-getFC) -show | awk '{print $1}')
- echo "$(FC=${_fcomp} get_fcomp)";;
+ echo $(FC=${_fcomp} get_fcomp) ;;
* )
echo $(tc-getFC) ;;
esac
@@ -103,10 +103,10 @@ get_fcomp() {
fortran-2_pkg_pretend() {
_have-valid-fortran || \
die "Please emerge the current gcc with USE=fortran or export FC defining a working fortran compiler"
- export FC="$(tc-getFC)"
- export F77="$(tc-getFC)"
- export F90="$(tc-getFC)"
- export F95="$(tc-getFC)"
+ export FC=$(tc-getFC)
+ export F77=$(tc-getFC)
+ export F90=$(tc-getFC)
+ export F95=$(tc-getFC)
if [[ ${FC_NEED_OPENMP} == 1 ]]; then
_fortran-has-openmp || \
die "Please emerge current gcc with USE=openmp or export FC with compiler that supports OpenMP"