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.
This commit is contained in:
dmcmahill 2004-03-10 05:13:38 +00:00
parent 7653a8ad87
commit c2df7b0cb4

View file

@ -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,".