mirror of
https://git.freebsd.org/ports.git
synced 2025-06-08 14:20:33 -04:00
Note: gcc-3.2 is still needed on FreeBSD > 5.3; without it Scilab hangs on floating point computations. PR: ports/81885 Submitted by: maintainer
36 lines
934 B
Text
36 lines
934 B
Text
--- configure.orig Wed May 25 17:00:45 2005
|
|
+++ configure Sat Jun 4 21:48:15 2005
|
|
@@ -21331,12 +21331,12 @@
|
|
# FreeBSD systems (not supported by INRIA)
|
|
*-*-freebsd*)
|
|
GCC=yes
|
|
- CC=gcc
|
|
+ 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'
|
|
@@ -24208,7 +24208,8 @@
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
cat >>conftest.$ac_ext <<_ACEOF
|
|
/* end confdefs.h. */
|
|
-#include <X11/IntrinsicP.h> #include <X11/Xaw3d/ViewportP.h>
|
|
+#include <X11/IntrinsicP.h>
|
|
+#include <X11/Xaw3d/ViewportP.h>
|
|
int
|
|
main ()
|
|
{
|
|
@@ -26321,7 +26322,7 @@
|
|
;;
|
|
esac
|
|
|
|
-GETLIBTK=libtk$TK_MAJOR_VERSION.$TK_MINOR_VERSION.$SONAME
|
|
+GETLIBTK=libtk$TK_MAJOR_VERSION$TK_MINOR_VERSION.$SONAME
|
|
|
|
case "$host" in
|
|
*-*-darwin*)
|