diff options
author | asau <asau> | 2010-12-26 14:13:44 +0000 |
---|---|---|
committer | asau <asau> | 2010-12-26 14:13:44 +0000 |
commit | aa8acbe6635680d543f3ffb433693eff6c14c3a3 (patch) | |
tree | aa87f144209b7da4fbd85e160492a7727fc8095a /mk | |
parent | b43edb3b52e44e9cfbc7b3712f7ce23f8e0fb0e7 (diff) | |
download | pkgsrc-aa8acbe6635680d543f3ffb433693eff6c14c3a3.tar.gz |
Break with the past: use g95 as default Fortran compiler.
Welcome to the modern world of computing.
This is known to break DragonFly at least,
either port g95 or fix lang/gcc44 to work on NetBSD.
Unless there're packages that still think that Fortran is F77,
this shouldn't affect anything.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/compiler/gcc.mk | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/mk/compiler/gcc.mk b/mk/compiler/gcc.mk index 4116aaa2a89..7743084b5f4 100644 --- a/mk/compiler/gcc.mk +++ b/mk/compiler/gcc.mk @@ -1,4 +1,4 @@ -# $NetBSD: gcc.mk,v 1.106 2010/07/30 07:58:59 asau Exp $ +# $NetBSD: gcc.mk,v 1.107 2010/12/26 14:13:44 asau Exp $ # # This is the compiler definition for the GNU Compiler Collection. # @@ -556,7 +556,12 @@ ${_GCC_${_var_}}: # On older NetBSD systems and where the Fortran compiler doesn't exist, # force the use of f2c-f77 or some other fortran. # +.if !empty(USE_LANGUAGES:Mfortran) +PKGSRC_FORTRAN?=g95 +.endif +#.if !empty(USE_LANGUAGES:Mfortran77) PKGSRC_FORTRAN?=f2c +#.endif _GCC_NEEDS_A_FORTRAN= no .if !exists(${FCPATH}) |