summaryrefslogtreecommitdiff
path: root/mk/compiler.mk
diff options
context:
space:
mode:
authorgrant <grant@pkgsrc.org>2003-10-06 07:11:19 +0000
committergrant <grant@pkgsrc.org>2003-10-06 07:11:19 +0000
commite6c85cbd25adb8350bdae377f960795b17a1e6bd (patch)
tree3832db63913dc9ac1c187e3fdc24cbf970223314 /mk/compiler.mk
parentb0209859afcf739292e71668620e8827607d3cae (diff)
downloadpkgsrc-e6c85cbd25adb8350bdae377f960795b17a1e6bd.tar.gz
avoid F77/PKG_FC being recursively defined.
reported by krister. XXX the Fortran gunk in bsd.pkg.mk will be moved to here later.
Diffstat (limited to 'mk/compiler.mk')
-rw-r--r--mk/compiler.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/mk/compiler.mk b/mk/compiler.mk
index a5eb88a174d..11d199f4630 100644
--- a/mk/compiler.mk
+++ b/mk/compiler.mk
@@ -1,4 +1,4 @@
-# $NetBSD: compiler.mk,v 1.15 2003/09/28 09:53:56 grant Exp $
+# $NetBSD: compiler.mk,v 1.16 2003/10/06 07:11:19 grant Exp $
# This Makefile fragment implements handling for supported
# C/C++/fortran compilers.
@@ -159,7 +159,7 @@ CC= ${_GCC_PREFIX}bin/gcc
CPP= ${_GCC_PREFIX}bin/cpp
CXX= ${_GCC_PREFIX}bin/g++
F77= ${_GCC_PREFIX}bin/g77
-PKG_FC= ${F77}
+PKG_FC:= ${F77}
.elif defined(USE_GCC3) && empty(PKGPATH:Mlang/gcc3) && empty(_PKGSRC_DEPS:Mgcc-3*)
GCC_REQD= 3.3
@@ -194,7 +194,7 @@ CC= ${_GCC_PREFIX}bin/gcc
CPP= ${_GCC_PREFIX}bin/cpp
CXX= ${_GCC_PREFIX}bin/g++
F77= ${_GCC_PREFIX}bin/g77
-PKG_FC= ${F77}
+PKG_FC:= ${F77}
.endif # USE_GCC3
# Ensure that the correct rpath is passed to the linker if we need to