diff options
author | markd <markd@pkgsrc.org> | 2011-09-28 19:31:09 +0000 |
---|---|---|
committer | markd <markd@pkgsrc.org> | 2011-09-28 19:31:09 +0000 |
commit | fe337203a812d6c0f3f9ed08d1a8c60bff6827b7 (patch) | |
tree | 61b5d4c5f23b4f69a9d930dd2889e4b963dfbacd /mk/compiler/g95.mk | |
parent | 54d82a419f7a753f08bb843a728d483a2501273a (diff) | |
download | pkgsrc-fe337203a812d6c0f3f9ed08d1a8c60bff6827b7.tar.gz |
Fix setup of g95 as PKGSRC_FORTRAN for fortran77 packages.
Diffstat (limited to 'mk/compiler/g95.mk')
-rw-r--r-- | mk/compiler/g95.mk | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mk/compiler/g95.mk b/mk/compiler/g95.mk index 388da5e926c..1f4e26965d9 100644 --- a/mk/compiler/g95.mk +++ b/mk/compiler/g95.mk @@ -1,4 +1,4 @@ -# $NetBSD: g95.mk,v 1.2 2010/07/30 07:58:59 asau Exp $ +# $NetBSD: g95.mk,v 1.3 2011/09/28 19:31:09 markd Exp $ # # Copyright (c) 2005 The NetBSD Foundation, Inc. # All rights reserved. @@ -73,7 +73,8 @@ _G95BASE_DEFAULT= ${LOCALBASE} _G95_DIR= ${WRKDIR}/.g95 _G95_VARS= # empty -. if !empty(_LANGUAGES.g95:Mfortran) +. if !empty(_LANGUAGES.g95:Mfortran) || \ + !empty(_LANGUAGES.g95:Mfortran77) PKG_FC?= ${FC} _G95_VARS+= FC _G95_FC:= ${_G95_DIR}/bin/${PKG_FC:T} |