1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-15 23:50:44 +00:00
freebsd-ports/math/scilab/files/patch-ab
Thomas Gellekum cad64cdf20 Import of Scilab port. Scilab is a matlab-like package.
PR:		3867
Submitted by:	Paulo Menezes <paulo@isr.uc.pt>
1997-06-18 12:14:52 +00:00

36 lines
886 B
Plaintext

diff -c -r /usr/LOCAL/scilab2.3/work/scilab-2.3/configure ./configure
*** /usr/LOCAL/scilab2.3/work/scilab-2.3/configure Tue May 13 14:08:49 1997
--- ./configure Sun May 25 21:16:16 1997
***************
*** 1050,1055 ****
--- 1050,1078 ----
fi
MAKEFILE_TARGET=Makefile.solaris
;;
+ # FreeBSD
+ *-*-freebsd*)
+ CC=gcc
+ CC_OPTIONS='-O2 -Dfreebsd'
+ CC_LDFLAGS=-lm
+ # script shell f77 have bugs, get ours
+ FC=f77
+ FC_OPTIONS='-O2 -Dfreebsd'
+ FC_LDFLAGS=-lm
+ LD=ld
+ LD_LDFLAGS=-lm
+ if test "$enable_debug" = yes; then
+ CC_OPTIONS='-g -Dfreebsd'
+ FC_OPTIONS=-g
+ fi
+ if test "$G77" = yes; then
+ FC=g77
+ fi
+ DLDLIB='${SCIDIR}/libs/libdld.a'
+ DLD_SUBDIR=dld
+ MAKEFILE_TARGET=Makefile.sunos
+ ;;
+
# Linux a.out
*-pc-linux-gnuaout)
LIEEELIB=