ports/math/scilab/files/patch-bb
Pav Lucistnik a42fae48ac - 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)
2005-01-26 13:56:44 +00:00

35 lines
893 B
Text

--- 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
-GETLIBTK=libtk$TK_MAJOR_VERSION.$TK_MINOR_VERSION.so
+GETLIBTK=libtk$TK_MAJOR_VERSION$TK_MINOR_VERSION.so
case "$host" in
*-*-darwin*)