diff options
author | hans <hans@pkgsrc.org> | 2012-02-28 12:57:24 +0000 |
---|---|---|
committer | hans <hans@pkgsrc.org> | 2012-02-28 12:57:24 +0000 |
commit | cc5f55a37206df7f7987085a1c6bee538308c2e1 (patch) | |
tree | 3e7109b219a166b52c42b1729fedc2f51be48ad9 /mk/compiler | |
parent | 35a392cb09468c1de26520e13889d370ed1d2d74 (diff) | |
download | pkgsrc-cc5f55a37206df7f7987085a1c6bee538308c2e1.tar.gz |
If gcc from pkgsrc is used, FCPATH might not be installed yet. Don't
force installation of yet another (different) fortran compiler in that
case.
Diffstat (limited to 'mk/compiler')
-rw-r--r-- | mk/compiler/gcc.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/compiler/gcc.mk b/mk/compiler/gcc.mk index 8258d03212a..e3b209df98d 100644 --- a/mk/compiler/gcc.mk +++ b/mk/compiler/gcc.mk @@ -1,4 +1,4 @@ -# $NetBSD: gcc.mk,v 1.112 2011/11/03 19:11:37 hans Exp $ +# $NetBSD: gcc.mk,v 1.113 2012/02/28 12:57:24 hans Exp $ # # This is the compiler definition for the GNU Compiler Collection. # @@ -630,7 +630,7 @@ PKGSRC_FORTRAN?=f2c #.endif _GCC_NEEDS_A_FORTRAN= no -.if !exists(${FCPATH}) +.if empty(_USE_PKGSRC_GCC:M[yY][eE][sS]) && !exists(${FCPATH}) _GCC_NEEDS_A_FORTRAN= yes .else . for _pattern_ in 0.* 1.[0-4] 1.[0-4].* |