summaryrefslogtreecommitdiff
path: root/math/scilab/files/patch-bb
blob: afafd49e46bfdaf15238416265450805a674a3e5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
--- configure.orig	Wed May 25 17:00:45 2005
+++ configure	Sun Jun  5 22:59:47 2005
@@ -21331,13 +21331,13 @@
 # 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_OPTIONS="${CFLAGS} -Dfreebsd"
+     FC=$F77
+     FC_OPTIONS="${FFLAGS} -Dfreebsd"
      FC_OPTIONS_O0='-Dfreebsd'
      FC_LDFLAGS='-lm -Wl,--export-dynamic'
      FC_PICFLAGS='-fPIC'
@@ -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*)