summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorasau <asau>2010-12-26 14:09:01 +0000
committerasau <asau>2010-12-26 14:09:01 +0000
commite4c0122e2399a166f5387064493fdaf485ce40a3 (patch)
treea0c386a01e12483ab2d67a9584dd2ca5cf4c073c
parentbcf6d75ab59595bd039bd49cc54fa2551d401c00 (diff)
downloadpkgsrc-e4c0122e2399a166f5387064493fdaf485ce40a3.tar.gz
Don't make Fortran synonymous to Fortran-77, it isn't so already.
-rw-r--r--mk/compiler/clang.mk6
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