aboutsummaryrefslogtreecommitdiff
path: root/math/PDL/files
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2004-03-12 02:58:25 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2004-03-12 02:58:25 +0000
commit9a28f4914c06d3cc0b808ca0be2678945b936db2 (patch)
tree51b12fe99d83a485b0b031bc56822da8ac487ef7 /math/PDL/files
parent47b48b53675b78c6a32835002e5e9e31627f7dc7 (diff)
downloadports-9a28f4914c06d3cc0b808ca0be2678945b936db2.tar.gz
ports-9a28f4914c06d3cc0b808ca0be2678945b936db2.zip
Notes
Diffstat (limited to 'math/PDL/files')
-rw-r--r--math/PDL/files/patch-Graphics:PLplot:Makefile.PL11
-rw-r--r--math/PDL/files/patch-aa24
-rw-r--r--math/PDL/files/patch-gg12
3 files changed, 47 insertions, 0 deletions
diff --git a/math/PDL/files/patch-Graphics:PLplot:Makefile.PL b/math/PDL/files/patch-Graphics:PLplot:Makefile.PL
new file mode 100644
index 000000000000..8fdc9dbd99df
--- /dev/null
+++ b/math/PDL/files/patch-Graphics:PLplot:Makefile.PL
@@ -0,0 +1,11 @@
+--- Graphics/PLplot/Makefile.PL.orig Fri Mar 12 08:38:52 2004
++++ Graphics/PLplot/Makefile.PL Fri Mar 12 08:39:43 2004
+@@ -164,7 +164,7 @@
+ 'PLplot.pm PLplot.xs PLplot.o PLplot.c PLplot.bs *.xfig temp* OPTIONS! Makefile.old'},
+ );
+
+-sub MY::postamble { pdlpp_postamble($package); }
++sub MY::postamble { pdlpp_postamble_int($package); }
+
+ sub compileAndRun {
+ my $flags = shift;
diff --git a/math/PDL/files/patch-aa b/math/PDL/files/patch-aa
new file mode 100644
index 000000000000..3f96ba43a2d0
--- /dev/null
+++ b/math/PDL/files/patch-aa
@@ -0,0 +1,24 @@
+--- perldl.conf.orig Wed Mar 10 14:23:59 2004
++++ perldl.conf Wed Mar 10 14:25:31 2004
+@@ -82,9 +82,9 @@
+ # OPENGL_DEFINE => '',
+ #
+ # Let perl try to figure it out
+- OPENGL_LIBS => undef,
+- OPENGL_INC => undef,
+- OPENGL_DEFINE => undef,
++ OPENGL_LIBS => '-L/usr/X11R6/lib -lGL -lGLU -lXext -lX11',
++ OPENGL_INC => '-I/usr/X11R6/include',
++ OPENGL_DEFINE => '-DGL_GLEXT_LEGACY',
+ # Whether or not to build the Karma interface module
+
+ WITH_KARMA => undef, # Leave it up to PDL to decide
+@@ -141,7 +141,7 @@
+ # about curses to fix it
+ # - 1 builds, 0 or undef does not build
+ #
+- WITH_IO_BROWSER => 0,
++ WITH_IO_BROWSER => 1,
+ );
+
+
diff --git a/math/PDL/files/patch-gg b/math/PDL/files/patch-gg
new file mode 100644
index 000000000000..0177b9bd2496
--- /dev/null
+++ b/math/PDL/files/patch-gg
@@ -0,0 +1,12 @@
+--- Basic/Math/mconf.h.orig Wed Sep 25 00:57:31 2002
++++ Basic/Math/mconf.h Wed Sep 25 00:58:06 2002
+@@ -89,7 +89,9 @@
+ #endif
+ #if defined __alpha && ! defined __linux
+ #include <float.h>
++#ifndef __FreeBSD__
+ #include <nan.h>
++#endif
+ #endif
+ #ifndef NANARG
+ #define NANARG