Source-Changes-HG archive

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

[src/trunk]: src/share/mk Try the more likely gfortran instead of g77.



details:   https://anonhg.NetBSD.org/src/rev/0e64471c7498
branches:  trunk
changeset: 365360:0e64471c7498
user:      maya <maya%NetBSD.org@localhost>
date:      Sun Aug 12 18:36:27 2018 +0000

description:
Try the more likely gfortran instead of g77.
g77 has likely not shipped as a binary in a long time.

No change for netbsd src as it has no fortran code, no change for pkgsrc
because it passes ${FC} for fortran packages.

diffstat:

 share/mk/bsd.own.mk |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r 12303b95ffbb -r 0e64471c7498 share/mk/bsd.own.mk
--- a/share/mk/bsd.own.mk       Sun Aug 12 18:01:22 2018 +0000
+++ b/share/mk/bsd.own.mk       Sun Aug 12 18:36:27 2018 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.own.mk,v 1.1073 2018/08/11 19:45:13 christos Exp $
+#      $NetBSD: bsd.own.mk,v 1.1074 2018/08/12 18:36:27 maya Exp $
 
 # This needs to be before bsd.init.mk
 .if defined(BSD_MK_COMPAT_FILE)
@@ -271,7 +271,7 @@
 TOOL_CC.gcc=           ${EXTERNAL_TOOLCHAIN}/bin/${MACHINE_GNU_PLATFORM}-gcc
 TOOL_CPP.gcc=          ${EXTERNAL_TOOLCHAIN}/bin/${MACHINE_GNU_PLATFORM}-cpp
 TOOL_CXX.gcc=          ${EXTERNAL_TOOLCHAIN}/bin/${MACHINE_GNU_PLATFORM}-c++
-TOOL_FC.gcc=           ${EXTERNAL_TOOLCHAIN}/bin/${MACHINE_GNU_PLATFORM}-g77
+TOOL_FC.gcc=           ${EXTERNAL_TOOLCHAIN}/bin/${MACHINE_GNU_PLATFORM}-gfortran
 TOOL_OBJC.gcc=         ${EXTERNAL_TOOLCHAIN}/bin/${MACHINE_GNU_PLATFORM}-gcc
 
 TOOL_CC.clang=         ${EXTERNAL_TOOLCHAIN}/bin/${MACHINE_GNU_PLATFORM}-clang
@@ -297,7 +297,7 @@
 TOOL_CC.gcc=           ${TOOLDIR}/bin/${MACHINE_GNU_PLATFORM}-gcc
 TOOL_CPP.gcc=          ${TOOLDIR}/bin/${MACHINE_GNU_PLATFORM}-cpp
 TOOL_CXX.gcc=          ${TOOLDIR}/bin/${MACHINE_GNU_PLATFORM}-c++
-TOOL_FC.gcc=           ${TOOLDIR}/bin/${MACHINE_GNU_PLATFORM}-g77
+TOOL_FC.gcc=           ${TOOLDIR}/bin/${MACHINE_GNU_PLATFORM}-gfortran
 TOOL_OBJC.gcc=         ${TOOLDIR}/bin/${MACHINE_GNU_PLATFORM}-gcc
 .endif                                                                 #  }
 
@@ -461,7 +461,7 @@
 TOOL_CC.gcc=   gcc
 TOOL_CPP.gcc=  cpp
 TOOL_CXX.gcc=  c++
-TOOL_FC.gcc=   g77
+TOOL_FC.gcc=   gfortran
 TOOL_OBJC.gcc= gcc
 
 # PCC supports C and Fortran



Home | Main Index | Thread Index | Old Index