summaryrefslogtreecommitdiff
path: root/mk/compiler
diff options
context:
space:
mode:
authormarkd <markd@pkgsrc.org>2012-12-15 21:23:31 +0000
committermarkd <markd@pkgsrc.org>2012-12-15 21:23:31 +0000
commit343b908590609d072e1e4e3c60d04b1fca3e7018 (patch)
tree0a61f164c6c2bb3f33fc216d74d409e912d94e6a /mk/compiler
parent302b94aca2b5231b34097c23db4383b0b8a72985 (diff)
downloadpkgsrc-343b908590609d072e1e4e3c60d04b1fca3e7018.tar.gz
When using g95 as fortran compiler make sure FC is set correctly.
Diffstat (limited to 'mk/compiler')
-rw-r--r--mk/compiler/g95.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/mk/compiler/g95.mk b/mk/compiler/g95.mk
index 1f4e26965d9..360873c7802 100644
--- a/mk/compiler/g95.mk
+++ b/mk/compiler/g95.mk
@@ -1,4 +1,4 @@
-# $NetBSD: g95.mk,v 1.3 2011/09/28 19:31:09 markd Exp $
+# $NetBSD: g95.mk,v 1.4 2012/12/15 21:23:31 markd Exp $
#
# Copyright (c) 2005 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -70,6 +70,7 @@ _USE_G95= YES
.if !empty(_USE_G95:M[yY][eE][sS])
EVAL_PREFIX+= _G95BASE=g95
_G95BASE_DEFAULT= ${LOCALBASE}
+FC= g95
_G95_DIR= ${WRKDIR}/.g95
_G95_VARS= # empty