summaryrefslogtreecommitdiff
path: root/math/octave
diff options
context:
space:
mode:
authordbj <dbj@pkgsrc.org>2015-04-23 06:48:53 +0000
committerdbj <dbj@pkgsrc.org>2015-04-23 06:48:53 +0000
commit788ae3219c5122f103173b1c218fd9eb9c57eb6b (patch)
treeb0316a09d57d83c86f7eb6737aa4c2ffc216b514 /math/octave
parent78e28dcd2b05b143aaa51ad6fd586eafcfa4c890 (diff)
downloadpkgsrc-788ae3219c5122f103173b1c218fd9eb9c57eb6b.tar.gz
don't assume gnuplot is configured with libaquaterm on mac
Diffstat (limited to 'math/octave')
-rw-r--r--math/octave/patches/patch-scripts_plot_____gnuplot__drawnow____.m16
1 files changed, 16 insertions, 0 deletions
diff --git a/math/octave/patches/patch-scripts_plot_____gnuplot__drawnow____.m b/math/octave/patches/patch-scripts_plot_____gnuplot__drawnow____.m
new file mode 100644
index 00000000000..3ce42e3b776
--- /dev/null
+++ b/math/octave/patches/patch-scripts_plot_____gnuplot__drawnow____.m
@@ -0,0 +1,16 @@
+$NetBSD: patch-scripts_plot_____gnuplot__drawnow____.m,v 1.1 2015/04/23 06:48:53 dbj Exp $
+
+We don't currently install libaquaterm on pkgsrc, so making the gnuplot
+"aqua" term the default on the mac is unlikely to work.
+
+--- scripts/plot/__gnuplot_drawnow__.m.orig 2013-02-21 20:19:24.000000000 +0000
++++ scripts/plot/__gnuplot_drawnow__.m
+@@ -328,7 +328,7 @@ function term = gnuplot_default_term ()
+ term = getenv ("GNUTERM");
+ ## If not specified, guess the terminal type.
+ if (isempty (term))
+- if (ismac ())
++ if (0 && ismac ()) ## disabled in pkgsrc because libaquaterm is not installed
+ term = "aqua";
+ elseif (! isunix ())
+ term = "windows";