aboutsummaryrefslogtreecommitdiff
path: root/math/scilab
diff options
context:
space:
mode:
authorMaho Nakata <maho@FreeBSD.org>2007-01-29 07:21:48 +0000
committerMaho Nakata <maho@FreeBSD.org>2007-01-29 07:21:48 +0000
commit3fd5fd84e89a86bcd3cd8f5225514d52a8227d1d (patch)
tree568db7b0ee26d6aac991162cc3684d99a8511514 /math/scilab
parentbb6528fc52e6c43fcba6bb01c8a38dc061e638f0 (diff)
downloadports-3fd5fd84e89a86bcd3cd8f5225514d52a8227d1d.tar.gz
ports-3fd5fd84e89a86bcd3cd8f5225514d52a8227d1d.zip
Fix build on 5.3. USE_GCC=3.2 overrides FC and F77 for this case.
Approved by: maintainer
Notes
Notes: svn path=/head/; revision=183602
Diffstat (limited to 'math/scilab')
-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