aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authormaho <maho@FreeBSD.org>2007-01-29 15:21:48 +0800
committermaho <maho@FreeBSD.org>2007-01-29 15:21:48 +0800
commitceeb6eb9a72054c7026c4f595783f50822365795 (patch)
treea8c9c264d7f43008cd0731b16a067c1fc04134aa /math
parentaad985cc799e75b8ea81fbb05c9e13a97ac222a4 (diff)
downloadfreebsd-ports-gnome-ceeb6eb9a72054c7026c4f595783f50822365795.tar.gz
freebsd-ports-gnome-ceeb6eb9a72054c7026c4f595783f50822365795.tar.zst
freebsd-ports-gnome-ceeb6eb9a72054c7026c4f595783f50822365795.zip
Fix build on 5.3. USE_GCC=3.2 overrides FC and F77 for this case.
Approved by: maintainer
Diffstat (limited to 'math')
-rw-r--r--math/scilab/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/math/scilab/Makefile b/math/scilab/Makefile
index d7c890449cec..186cf453440f 100644
--- a/math/scilab/Makefile
+++ b/math/scilab/Makefile
@@ -84,7 +84,10 @@ MAKE_ENV+= BLAS_LIBS="-L${LOCALBASE}/lib ${BLAS_LIBS}"
# Scilab broken with GCC 3.3 on FreeBSD 5.3
.if ${OSVERSION} >= 503000 && ${OSVERSION} < 600000
-USE_GCC= 3.2
+#USE_GCC= 3.2 #override FC and F77
+BUILD_DEPENDS+= gcc32:${PORTSDIR}/lang/gcc32
+CC= gcc32
+CXX= g++32
.endif
WANT_FORTRAN=yes #dummy but future use