aboutsummaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorMark Linimon <linimon@FreeBSD.org>2003-12-09 02:22:27 +0000
committerMark Linimon <linimon@FreeBSD.org>2003-12-09 02:22:27 +0000
commitf6ffc475db4b318936097fd155aa0c542b4a30a9 (patch)
treee5ba1c3037b3a44f66fb84eade80c7da72c4dad6 /math
parent5ed6c8fe600af2880384830bd2a1819cd95ef1a0 (diff)
downloadports-f6ffc475db4b318936097fd155aa0c542b4a30a9.tar.gz
ports-f6ffc475db4b318936097fd155aa0c542b4a30a9.zip
Notes
Diffstat (limited to 'math')
-rw-r--r--math/scilab/Makefile11
-rw-r--r--math/scilab/files/patch-bb2
-rw-r--r--math/scilab/files/patch-bc11
-rw-r--r--math/scilab/files/patch-bd11
-rw-r--r--math/scilab/files/patch-be18
-rw-r--r--math/scilab/files/patch-bf12
6 files changed, 58 insertions, 7 deletions
diff --git a/math/scilab/Makefile b/math/scilab/Makefile
index 161113decf78..94817ac0e636 100644
--- a/math/scilab/Makefile
+++ b/math/scilab/Makefile
@@ -7,7 +7,7 @@
PORTNAME= scilab
PORTVERSION= 2.7
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= math cad parallel
MASTER_SITES= ftp://ftp.inria.fr/INRIA/Scilab/distributions/
EXTRACT_SUFX= .src.tar.gz
@@ -19,9 +19,8 @@ LIB_DEPENDS= Xaw3d.${XAWVER}:${PORTSDIR}/x11-toolkits/Xaw3d \
f77blas.1:${PORTSDIR}/math/atlas \
lapack.3:${PORTSDIR}/math/lapack
BUILD_DEPENDS= pvm:${PORTSDIR}/net/pvm \
- wish8.3:${PORTSDIR}/x11-toolkits/tk83
-RUN_DEPENDS= wish8.3:${PORTSDIR}/x11-toolkits/tk83 \
- pvm:${PORTSDIR}/net/pvm
+ wish8.4:${PORTSDIR}/x11-toolkits/tk84
+RUN_DEPENDS+= ${BUILD_DEPENDS}
PVM_ROOT= ${LOCALBASE}/lib/pvm
@@ -32,9 +31,9 @@ USE_REINPLACE= yes
CONFIGURE_ARGS= --with-tk \
--with-tk-library=${LOCALBASE}/lib \
- --with-tk-include=${LOCALBASE}/include/tk8.3 \
+ --with-tk-include=${LOCALBASE}/include/tk8.4 \
--with-tcl-library=${LOCALBASE}/lib \
- --with-tcl-include=${LOCALBASE}/include/tcl8.3 \
+ --with-tcl-include=${LOCALBASE}/include/tcl8.4 \
--with-pvm-library=${LOCALBASE}/lib \
--with-pvm-include=${LOCALBASE}/include \
--with-xaw3d \
diff --git a/math/scilab/files/patch-bb b/math/scilab/files/patch-bb
index 20335daa69db..2594f6c04c29 100644
--- a/math/scilab/files/patch-bb
+++ b/math/scilab/files/patch-bb
@@ -5,7 +5,7 @@
if TK_GetVar("isscipadinterp")=='0' then
TK_EvalStr("interp create scipad")
- TK_EvalStr("load {libtk8.3.so} Tk scipad")
-+ TK_EvalStr("load {libtk83.so} Tk scipad")
++ TK_EvalStr("load {libtk84.so} Tk scipad")
TK_EvalStr("scipad eval {wm withdraw .}")
TK_EvalStr("scipad alias ScilabEval ScilabEval")
end
diff --git a/math/scilab/files/patch-bc b/math/scilab/files/patch-bc
new file mode 100644
index 000000000000..41c5fec836e4
--- /dev/null
+++ b/math/scilab/files/patch-bc
@@ -0,0 +1,11 @@
+--- Makefile.incl.orig Sun Oct 19 19:20:40 2003
++++ Makefile.incl Sun Oct 19 19:20:51 2003
+@@ -75,7 +75,7 @@
+ #####################
+ TK_INC_PATH = -I/usr/include
+ TCL_INC_PATH = -I/usr/include
+-TCLTK_LIBS = -L/usr/lib -ltk8.3 -L/usr/lib -ltcl8.3 -ldl
++TCLTK_LIBS = -L/usr/lib -ltk8.4 -L/usr/lib -ltcl8.4 -ldl
+
+ #####################
+ # for WIN32 version
diff --git a/math/scilab/files/patch-bd b/math/scilab/files/patch-bd
new file mode 100644
index 000000000000..81508b35956c
--- /dev/null
+++ b/math/scilab/files/patch-bd
@@ -0,0 +1,11 @@
+--- examples/callsci/callsciC++/config/Makefile.incl.orig Sun Oct 19 19:25:21 2003
++++ examples/callsci/callsciC++/config/Makefile.incl Sun Oct 19 19:25:33 2003
+@@ -75,7 +75,7 @@
+ #####################
+ TK_INC_PATH = -I/usr/include
+ TCL_INC_PATH = -I/usr/include
+-TCLTK_LIBS = -L/usr/lib -ltk8.3 -L/usr/lib -ltcl8.3 -ldl
++TCLTK_LIBS = -L/usr/lib -ltk8.4 -L/usr/lib -ltcl8.4 -ldl
+
+ #####################
+ # for WIN32 version
diff --git a/math/scilab/files/patch-be b/math/scilab/files/patch-be
new file mode 100644
index 000000000000..bca9365cd5e7
--- /dev/null
+++ b/math/scilab/files/patch-be
@@ -0,0 +1,18 @@
+--- routines/graphics/Math.h.orig Sun Nov 23 20:22:11 2003
++++ routines/graphics/Math.h Sun Nov 23 20:22:10 2003
+@@ -88,11 +88,15 @@
+ #if defined(THINK_C)|| defined(WIN32)
+ #define M_PI 3.14159265358979323846
+ #else
++#if defined(HAVE_LIMITS_H)
++#include <limits.h>
++#else
+ #if defined(HAVE_VALUES_H)
+ #include <values.h>
+ #else
+ #ifndef M_PI
+ #define M_PI 3.14159265358979323846
++#endif
+ #endif
+ #endif
+ #endif
diff --git a/math/scilab/files/patch-bf b/math/scilab/files/patch-bf
new file mode 100644
index 000000000000..435f7e778621
--- /dev/null
+++ b/math/scilab/files/patch-bf
@@ -0,0 +1,12 @@
+--- macros/util/help.sci.orig Sun Nov 23 21:13:37 2003
++++ macros/util/help.sci Sun Nov 23 21:11:24 2003
+@@ -184,7 +184,8 @@
+ if MSDOS then
+ tcltk_help(path,key);
+ else
+- unix(SCI+'/tcl/browsehelpexe ' +path+ '&');
++ tcltk_help(path,key);
++// unix(SCI+'/tcl/browsehelpexe ' +path+ '&');
+ end
+ else
+ write(%io(2),mgetl(path))