pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/mk/compiler
Module Name: pkgsrc
Committed By: nia
Date: Mon Mar 30 09:39:24 UTC 2020
Modified Files:
pkgsrc/mk/compiler: clang.mk gcc.mk
Log Message:
mk/compiler: Make gfortran the default fortran compiler.
Discussed on tech-pkg@ before freeze.
To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 pkgsrc/mk/compiler/clang.mk
cvs rdiff -u -r1.209 -r1.210 pkgsrc/mk/compiler/gcc.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/mk/compiler/clang.mk
diff -u pkgsrc/mk/compiler/clang.mk:1.22 pkgsrc/mk/compiler/clang.mk:1.23
--- pkgsrc/mk/compiler/clang.mk:1.22 Sat Mar 14 10:00:37 2020
+++ pkgsrc/mk/compiler/clang.mk Mon Mar 30 09:39:24 2020
@@ -1,4 +1,4 @@
-# $NetBSD: clang.mk,v 1.22 2020/03/14 10:00:37 nia Exp $
+# $NetBSD: clang.mk,v 1.23 2020/03/30 09:39:24 nia Exp $
#
# This is the compiler definition for the clang compiler.
#
@@ -84,11 +84,7 @@ _LANGUAGES.clang= # empty
_LANGUAGES.clang+= ${LANGUAGES.clang:M${_lang_}}
.endfor
-.if !empty(MACHINE_ARCH:Maarch64*)
PKGSRC_FORTRAN?=gfortran
-.else
-PKGSRC_FORTRAN?=g95
-.endif
.if !empty(PKGSRC_FORTRAN) && (!empty(USE_LANGUAGES:Mfortran) || !empty(USE_LANGUAGES:Mfortran77))
. include "../../mk/compiler/${PKGSRC_FORTRAN}.mk"
Index: pkgsrc/mk/compiler/gcc.mk
diff -u pkgsrc/mk/compiler/gcc.mk:1.209 pkgsrc/mk/compiler/gcc.mk:1.210
--- pkgsrc/mk/compiler/gcc.mk:1.209 Sat Mar 14 10:00:37 2020
+++ pkgsrc/mk/compiler/gcc.mk Mon Mar 30 09:39:24 2020
@@ -1,4 +1,4 @@
-# $NetBSD: gcc.mk,v 1.209 2020/03/14 10:00:37 nia Exp $
+# $NetBSD: gcc.mk,v 1.210 2020/03/30 09:39:24 nia Exp $
#
# This is the compiler definition for the GNU Compiler Collection.
#
@@ -1046,14 +1046,7 @@ ${_GCC_${_var_}}:
.endfor
# On systems without a Fortran compiler, pull one in if needed.
-# The default is g95 as it supports a modern dialect, but it can
-# be overridden in mk.conf to use only f2c.
-#
-.if !empty(MACHINE_ARCH:Maarch64*)
PKGSRC_FORTRAN?=gfortran
-.else
-PKGSRC_FORTRAN?=g95
-.endif
_GCC_NEEDS_A_FORTRAN= no
.if empty(_USE_PKGSRC_GCC:M[yY][eE][sS]) && !exists(${FCPATH})
Home |
Main Index |
Thread Index |
Old Index