ports/math/scilab/files/patch-bb
Thierry Thomas ab8e018a48 Add support of FFLAGS.
PR:		ports/81885 (follow-up)
Submitted by:	maintainer
2005-06-05 21:14:39 +00:00

38 lines
999 B
Text

--- 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*)