summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authordbj <dbj>2015-04-23 06:48:53 +0000
committerdbj <dbj>2015-04-23 06:48:53 +0000
commit7e0f05845070c92ff7013119452d9be31ce9b114 (patch)
treeb0316a09d57d83c86f7eb6737aa4c2ffc216b514 /math
parentfd010eecd2f37eb7c341bb672ec7d4c977a01ac4 (diff)
downloadpkgsrc-7e0f05845070c92ff7013119452d9be31ce9b114.tar.gz
don't assume gnuplot is configured with libaquaterm on mac
Diffstat (limited to 'math')
-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";