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 | ab232954255fa6ee6a403e00a1b64d4901bdfb74 (patch) | |
tree | 61b5d4c5f23b4f69a9d930dd2889e4b963dfbacd /mk | |
parent | 4cdd7033fe1fc45f8c66445576b455fc1d9d83d8 (diff) | |
download | pkgsrc-ab232954255fa6ee6a403e00a1b64d4901bdfb74.tar.gz |
Fix setup of g95 as PKGSRC_FORTRAN for fortran77 packages.
Diffstat (limited to '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} |