aboutsummaryrefslogtreecommitdiffstats
path: root/Mk/bsd.gcc.mk
diff options
context:
space:
mode:
authorgerald <gerald@FreeBSD.org>2009-01-06 04:25:52 +0800
committergerald <gerald@FreeBSD.org>2009-01-06 04:25:52 +0800
commitd47eb1497d6449e4bf229605477df462113a135c (patch)
treec4744896d71fb9e068d3ff40104091ec1e837546 /Mk/bsd.gcc.mk
parent72173ae40a3c3cc1a23bba84b7ed08e57ae4f92e (diff)
downloadfreebsd-ports-gnome-d47eb1497d6449e4bf229605477df462113a135c.tar.gz
freebsd-ports-gnome-d47eb1497d6449e4bf229605477df462113a135c.tar.zst
freebsd-ports-gnome-d47eb1497d6449e4bf229605477df462113a135c.zip
When USE_FORTRAN is specified, add F77, FC, and FFLAGS to CONFIGURE_ENV
too, not just MAKE_ENV.
Diffstat (limited to 'Mk/bsd.gcc.mk')
-rw-r--r--Mk/bsd.gcc.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/Mk/bsd.gcc.mk b/Mk/bsd.gcc.mk
index 653cc4b8a6bc..a58da5e2e9fd 100644
--- a/Mk/bsd.gcc.mk
+++ b/Mk/bsd.gcc.mk
@@ -94,7 +94,8 @@ FC:= f77
. endif
. endif
-MAKE_ENV+= F77="${F77}" FC="${FC}" FFLAGS="${FFLAGS}"
+CONFIGURE_ENV+= F77="${F77}" FC="${FC}" FFLAGS="${FFLAGS}"
+MAKE_ENV+= F77="${F77}" FC="${FC}" FFLAGS="${FFLAGS}"
.endif