summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authordmcmahill <dmcmahill@pkgsrc.org>2004-03-10 05:13:38 +0000
committerdmcmahill <dmcmahill@pkgsrc.org>2004-03-10 05:13:38 +0000
commitc2df7b0cb4a83193a1d9324c1a5a97ddb824f685 (patch)
treefa3eb577c63147935eba3b5ef3038a539f7fdfdf /mk
parent7653a8ad87eaccdfcb8a763a0bacc261046916cf (diff)
downloadpkgsrc-c2df7b0cb4a83193a1d9324c1a5a97ddb824f685.tar.gz
set F77 as well as FC.
was: 1% make show-var PKG_STAGE=configure VARNAME=FC g77 2% make show-var PKG_STAGE=configure VARNAME=F77 /usr/pkgsrc-current/math/scilab/work/.gcc/bin/g77 is: 3% make show-var PKG_STAGE=configure VARNAME=FC g77 4% make show-var PKG_STAGE=configure VARNAME=F77 g77 fixes some buildlink spillover noted in the scilab package.
Diffstat (limited to 'mk')
-rw-r--r--mk/compiler/gcc.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/mk/compiler/gcc.mk b/mk/compiler/gcc.mk
index 04292dc304f..24cd5da3f81 100644
--- a/mk/compiler/gcc.mk
+++ b/mk/compiler/gcc.mk
@@ -1,4 +1,4 @@
-# $NetBSD: gcc.mk,v 1.56 2004/03/05 14:36:34 wiz Exp $
+# $NetBSD: gcc.mk,v 1.57 2004/03/10 05:13:38 dmcmahill Exp $
.if !defined(COMPILER_GCC_MK)
COMPILER_GCC_MK= defined
@@ -284,6 +284,7 @@ _GCC_FC= ${_GCC_DIR}/bin/g77
_GCC_LINKS+= _GCC_FC
PKG_FC= ${_GCC_FC}
FC= ${PKG_FC:T}
+F77= ${PKG_FC:T}
.endif
# GCC passes flags to the linker using "-Wl,".