aboutsummaryrefslogtreecommitdiffstats
path: root/math/scilab/files
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2005-01-26 21:56:44 +0800
committerpav <pav@FreeBSD.org>2005-01-26 21:56:44 +0800
commitb1b6752632dcc7bf702971d7649f250e623c4c72 (patch)
tree3d52631f2f6a309c6dab405c7c13ae416120caab /math/scilab/files
parentc8a8e8555b0ac8e50ad936a6850cfadeb84befd5 (diff)
downloadfreebsd-ports-gnome-b1b6752632dcc7bf702971d7649f250e623c4c72.tar.gz
freebsd-ports-gnome-b1b6752632dcc7bf702971d7649f250e623c4c72.tar.zst
freebsd-ports-gnome-b1b6752632dcc7bf702971d7649f250e623c4c72.zip
- Force gcc 3.2 if gcc 3.3 is present in base system, to avoid runtime crashes
PR: ports/76636 Submitted by: Jean-Sebastien Roy <js@jeannot.org> (maintainer)
Diffstat (limited to 'math/scilab/files')
-rw-r--r--math/scilab/files/patch-bb28
1 files changed, 26 insertions, 2 deletions
diff --git a/math/scilab/files/patch-bb b/math/scilab/files/patch-bb
index ccf14851bbee..dbc5cbb4c0c6 100644
--- a/math/scilab/files/patch-bb
+++ b/math/scilab/files/patch-bb
@@ -1,5 +1,29 @@
---- configure.orig Sat Jul 24 11:16:25 2004
-+++ configure Sat Jul 24 11:16:34 2004
+--- configure.orig Fri Jul 9 10:28:05 2004
++++ configure Sun Jan 16 14:45:09 2005
+@@ -21087,12 +21087,12 @@
+ # FreeBSD systems (not supported by INRIA)
+ *-*-freebsd*)
+ GCC=yes
+- CC=cc
++ CC=$CC
+ CC_OPTIONS="${CFLAGS} -Dfreebsd"
+ CC_LDFLAGS=-lm
+ CC_PICFLAGS='-fPIC'
+ # script shell f77 have bugs, get ours
+- FC=f77
++ FC=$F77
+ FC_OPTIONS="${CFLAGS} -Dfreebsd"
+ FC_OPTIONS_O0='-Dfreebsd'
+ FC_LDFLAGS='-lm -Wl,--export-dynamic'
+@@ -21106,7 +21106,7 @@
+ fi
+ if test "$WITH_G77" = yes; then
+ # On FreeBSD the gnu fortran compiler is named f77
+- FC=f77
++ FC=$F77
+ fi
+ DLDLIB='${SCIDIR}/libs/libdld.a'
+ DLD_SUBDIR=dld
@@ -26503,7 +26503,7 @@
;;
esac