summaryrefslogtreecommitdiff
path: root/mk/compiler
diff options
context:
space:
mode:
authormarkd <markd>2012-12-15 21:23:31 +0000
committermarkd <markd>2012-12-15 21:23:31 +0000
commitf12ec096b095a52fe199d2e8a81aeedecf95b529 (patch)
tree0a61f164c6c2bb3f33fc216d74d409e912d94e6a /mk/compiler
parentfe48b83b9c6605b5a5613cd864335dcddf3e856b (diff)
downloadpkgsrc-f12ec096b095a52fe199d2e8a81aeedecf95b529.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