pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk/compiler Don't make Fortran synonymous to Fortran-7...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2a5fd8793e1f
branches:  trunk
changeset: 583699:2a5fd8793e1f
user:      asau <asau%pkgsrc.org@localhost>
date:      Sun Dec 26 14:09:01 2010 +0000

description:
Don't make Fortran synonymous to Fortran-77, it isn't so already.

diffstat:

 mk/compiler/clang.mk |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (20 lines):

diff -r f11fbf413807 -r 2a5fd8793e1f mk/compiler/clang.mk
--- a/mk/compiler/clang.mk      Sun Dec 26 13:07:11 2010 +0000
+++ b/mk/compiler/clang.mk      Sun Dec 26 14:09:01 2010 +0000
@@ -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+=     ${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



Home | Main Index | Thread Index | Old Index