pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk/compiler If unset, set PKGSRC_FORTRAN accordingly i...
details: https://anonhg.NetBSD.org/pkgsrc/rev/c963720e74d3
branches: trunk
changeset: 602989:c963720e74d3
user: hans <hans%pkgsrc.org@localhost>
date: Wed Apr 25 16:28:18 2012 +0000
description:
If unset, set PKGSRC_FORTRAN accordingly if g77 or gfortran exist.
diffstat:
mk/compiler/gcc.mk | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (25 lines):
diff -r 6a65f3b525e6 -r c963720e74d3 mk/compiler/gcc.mk
--- a/mk/compiler/gcc.mk Wed Apr 25 16:27:50 2012 +0000
+++ b/mk/compiler/gcc.mk Wed Apr 25 16:28:18 2012 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: gcc.mk,v 1.119 2012/04/24 07:44:11 sbd Exp $
+# $NetBSD: gcc.mk,v 1.120 2012/04/25 16:28:18 hans Exp $
#
# This is the compiler definition for the GNU Compiler Collection.
#
@@ -589,6 +589,7 @@
FCPATH= ${_GCCBINDIR}/${_GCC_BIN_PREFIX}g77
F77PATH= ${_GCCBINDIR}/${_GCC_BIN_PREFIX}g77
PKG_FC:= ${_GCC_FC}
+PKGSRC_FORTRAN?= g77
.endif
.if exists(${_GCCBINDIR}/${_GCC_BIN_PREFIX}gfortran)
_GCC_VARS+= FC
@@ -597,6 +598,7 @@
FCPATH= ${_GCCBINDIR}/${_GCC_BIN_PREFIX}gfortran
F77PATH= ${_GCCBINDIR}/${_GCC_BIN_PREFIX}gfortran
PKG_FC:= ${_GCC_FC}
+PKGSRC_FORTRAN?= gfortran
.endif
_COMPILER_STRIP_VARS+= ${_GCC_VARS}
Home |
Main Index |
Thread Index |
Old Index