diff options
author | dmcmahill <dmcmahill@pkgsrc.org> | 2004-03-10 05:13:38 +0000 |
---|---|---|
committer | dmcmahill <dmcmahill@pkgsrc.org> | 2004-03-10 05:13:38 +0000 |
commit | c2df7b0cb4a83193a1d9324c1a5a97ddb824f685 (patch) | |
tree | fa3eb577c63147935eba3b5ef3038a539f7fdfdf /mk | |
parent | 7653a8ad87eaccdfcb8a763a0bacc261046916cf (diff) | |
download | pkgsrc-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.mk | 3 |
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,". |