diff options
author | fhajny <fhajny@pkgsrc.org> | 2014-02-04 12:11:57 +0000 |
---|---|---|
committer | fhajny <fhajny@pkgsrc.org> | 2014-02-04 12:11:57 +0000 |
commit | 3ec8f937a60ec22fd22f133be8ef387f2a431457 (patch) | |
tree | 051f935b92069e724d9e3c07b4266b89c6723cd9 /mk | |
parent | ecec9ce097e7f9e1a056134303df63d4f188dd10 (diff) | |
download | pkgsrc-3ec8f937a60ec22fd22f133be8ef387f2a431457.tar.gz |
Make sure FC is set for g77/gfortran. Fixes runtime Fortran in math/R et al.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/compiler/gcc.mk | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mk/compiler/gcc.mk b/mk/compiler/gcc.mk index 5da0177025a..a9819b0a22e 100644 --- a/mk/compiler/gcc.mk +++ b/mk/compiler/gcc.mk @@ -1,4 +1,4 @@ -# $NetBSD: gcc.mk,v 1.143 2013/11/23 08:55:28 obache Exp $ +# $NetBSD: gcc.mk,v 1.144 2014/02/04 12:11:57 fhajny Exp $ # # This is the compiler definition for the GNU Compiler Collection. # @@ -690,6 +690,7 @@ PKG_CXX:= ${_GCC_CXX} _GCC_VARS+= FC _GCC_FC= ${_GCC_DIR}/bin/${_GCC_BIN_PREFIX}g77 _ALIASES.FC= f77 g77 +FC= g77 FCPATH= ${_GCCBINDIR}/${_GCC_BIN_PREFIX}g77 F77PATH= ${_GCCBINDIR}/${_GCC_BIN_PREFIX}g77 PKG_FC:= ${_GCC_FC} @@ -699,6 +700,7 @@ PKGSRC_FORTRAN?= g77 _GCC_VARS+= FC _GCC_FC= ${_GCC_DIR}/bin/${_GCC_BIN_PREFIX}gfortran _ALIASES.FC= gfortran +FC= gfortran FCPATH= ${_GCCBINDIR}/${_GCC_BIN_PREFIX}gfortran F77PATH= ${_GCCBINDIR}/${_GCC_BIN_PREFIX}gfortran PKG_FC:= ${_GCC_FC} |