diff options
Diffstat (limited to 'sci-mathematics/scilab/files/scilab-5.4.0-fortran-link.patch')
-rw-r--r-- | sci-mathematics/scilab/files/scilab-5.4.0-fortran-link.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/sci-mathematics/scilab/files/scilab-5.4.0-fortran-link.patch b/sci-mathematics/scilab/files/scilab-5.4.0-fortran-link.patch new file mode 100644 index 000000000..53277783c --- /dev/null +++ b/sci-mathematics/scilab/files/scilab-5.4.0-fortran-link.patch @@ -0,0 +1,22 @@ +diff -urN scilab-orig/configure.ac scilab/configure.ac +--- scilab-orig/configure.ac 2012-06-14 22:30:33.438115959 -0400 ++++ scilab/configure.ac 2012-06-14 22:37:57.229102963 -0400 +@@ -200,16 +200,14 @@ + if test -z "$F77"; then + AC_MSG_ERROR([You asked me to use gfortran but i haven't been able to find it]) + fi +-fi + +-if test "$with_intelcompilers" = yes; then ++elif test "$with_intelcompilers" = yes; then + AC_PROG_F77(ifc ifort) + if test -z "$F77"; then + AC_MSG_ERROR([You asked me to use ifc (intel fortran compiler) but i haven't been able to find it]) + fi +-fi + +-if test -z "$F77"; then ++elif test -z "$F77"; then + ## No Fortran compiler specified... Prefer gfortran and intel compilers + AC_PROG_F77([gfortran ifc ifort]) + if test -z "$F77"; then |