pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/math/octave/patches don't assume gnuplot is configured...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/bce397a770a0
branches:  trunk
changeset: 650451:bce397a770a0
user:      dbj <dbj%pkgsrc.org@localhost>
date:      Thu Apr 23 06:48:53 2015 +0000

description:
don't assume gnuplot is configured with libaquaterm on mac

diffstat:

 math/octave/patches/patch-scripts_plot_____gnuplot__drawnow____.m |  16 ++++++++++
 1 files changed, 16 insertions(+), 0 deletions(-)

diffs (20 lines):

diff -r a006989e9a5b -r bce397a770a0 math/octave/patches/patch-scripts_plot_____gnuplot__drawnow____.m
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/octave/patches/patch-scripts_plot_____gnuplot__drawnow____.m Thu Apr 23 06:48:53 2015 +0000
@@ -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";



Home | Main Index | Thread Index | Old Index