pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/compiler Make lang/g95 as default Fortran compiler ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3ea734d1d015
branches:  trunk
changeset: 635723:3ea734d1d015
user:      ryoon <ryoon%pkgsrc.org@localhost>
date:      Mon Jun 09 23:29:31 2014 +0000

description:
Make lang/g95 as default Fortran compiler under NetBSD current (GCC 4.8)
lang/g95 is built with NetBSD current's GCC 4.8.3. Thank you, asau@.

diffstat:

 mk/compiler/gcc.mk |  9 +--------
 1 files changed, 1 insertions(+), 8 deletions(-)

diffs (24 lines):

diff -r 39242095db5e -r 3ea734d1d015 mk/compiler/gcc.mk
--- a/mk/compiler/gcc.mk        Mon Jun 09 21:30:36 2014 +0000
+++ b/mk/compiler/gcc.mk        Mon Jun 09 23:29:31 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: gcc.mk,v 1.147 2014/06/01 09:58:13 ryoon Exp $
+# $NetBSD: gcc.mk,v 1.148 2014/06/09 23:29:31 ryoon Exp $
 #
 # This is the compiler definition for the GNU Compiler Collection.
 #
@@ -849,14 +849,7 @@
 # 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_PLATFORM:MNetBSD-6.99.[4-9]*) || \
-       !empty(MACHINE_PLATFORM:MNetBSD-[7-9]*)) && \
-    (!empty(CC_VERSION:Mgcc-4.[8-9]*) || \
-       !empty(CC_VERSION:Mgcc-[5-9].*))
-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