diff options
author | asau <asau@pkgsrc.org> | 2010-12-26 14:09:01 +0000 |
---|---|---|
committer | asau <asau@pkgsrc.org> | 2010-12-26 14:09:01 +0000 |
commit | 334db4604b1aaed41d34fbcb4022cec08006f986 (patch) | |
tree | a0c386a01e12483ab2d67a9584dd2ca5cf4c073c /mk/compiler | |
parent | 5f5f2f7222d0fd1eaff601963cc281648cc635a6 (diff) | |
download | pkgsrc-334db4604b1aaed41d34fbcb4022cec08006f986.tar.gz |
Don't make Fortran synonymous to Fortran-77, it isn't so already.
Diffstat (limited to 'mk/compiler')
-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 ff047438613..932c4a8c69c 100644 --- a/mk/compiler/clang.mk +++ b/mk/compiler/clang.mk @@ -1,4 +1,4 @@ -# $NetBSD: clang.mk,v 1.5 2010/12/26 09:46:24 adam Exp $ +# $NetBSD: clang.mk,v 1.6 2010/12/26 14:09:01 asau Exp $ # # This is the compiler definition for the clang compiler. # @@ -56,8 +56,8 @@ _LANGUAGES.clang= # empty _LANGUAGES.clang+= ${LANGUAGES.clang:M${_lang_}} .endfor -.if !(empty(USE_LANGUAGES:Mfortran) && empty(USE_LANGUAGES:Mfortran77)) -.include "../../mk/compiler/f2c.mk" +.if defined(PKGSRC_FORTRAN) && !empty(PKGSRC_FORTRAN) +. include "../../mk/compiler/${PKGSRC_FORTRAN}.mk" .endif .endif # COMPILER_CLANG_MK |