diff options
author | joerg <joerg@pkgsrc.org> | 2013-05-09 14:01:08 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2013-05-09 14:01:08 +0000 |
commit | 823671dac451f4598f10a1bb4695489776a0bcd0 (patch) | |
tree | 6a71405a30d4cd3b1e88731ca2f4d79939018da9 /mk | |
parent | 6e5aec910519aad904ccdc7bd14b4c9f8f9a8b0a (diff) | |
download | pkgsrc-823671dac451f4598f10a1bb4695489776a0bcd0.tar.gz |
Use g95 as default Fortran compiler. Would be nice to use more modern
GCC, but that requires cleaning up mk/compiler/gcc.mk first.
Only include the fortran compiler file, if Fortran is actually
requested.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/compiler/clang.mk | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mk/compiler/clang.mk b/mk/compiler/clang.mk index 83016760de1..ae0c0aeff96 100644 --- a/mk/compiler/clang.mk +++ b/mk/compiler/clang.mk @@ -1,4 +1,4 @@ -# $NetBSD: clang.mk,v 1.8 2013/02/21 07:57:19 wiz Exp $ +# $NetBSD: clang.mk,v 1.9 2013/05/09 14:01:08 joerg Exp $ # # This is the compiler definition for the clang compiler. # @@ -61,9 +61,9 @@ _LANGUAGES.clang= # empty _LANGUAGES.clang+= ${LANGUAGES.clang:M${_lang_}} .endfor -PKGSRC_FORTRAN?=f2c +PKGSRC_FORTRAN?=g95 -.if !empty(PKGSRC_FORTRAN) +.if !empty(PKGSRC_FORTRAN) && (!empty(USE_LANGUAGES:Mfortran) || !empty(USE_LANGUAGES:Mfortran77)) . include "../../mk/compiler/${PKGSRC_FORTRAN}.mk" .endif |