pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk avoid F77/PKG_FC being recursively defined.
details: https://anonhg.NetBSD.org/pkgsrc/rev/ed525d2cd201
branches: trunk
changeset: 462612:ed525d2cd201
user: grant <grant%pkgsrc.org@localhost>
date: Mon Oct 06 07:11:19 2003 +0000
description:
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:
mk/compiler.mk | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 1c905dc412f3 -r ed525d2cd201 mk/compiler.mk
--- a/mk/compiler.mk Mon Oct 06 06:57:40 2003 +0000
+++ b/mk/compiler.mk Mon Oct 06 07:11:19 2003 +0000
@@ -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 @@
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 @@
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
Home |
Main Index |
Thread Index |
Old Index