summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-visualization/gnuplot')
-rw-r--r--sci-visualization/gnuplot/ChangeLog5
-rw-r--r--sci-visualization/gnuplot/gnuplot-4.6_rc1.ebuild18
2 files changed, 16 insertions, 7 deletions
diff --git a/sci-visualization/gnuplot/ChangeLog b/sci-visualization/gnuplot/ChangeLog
index 5a31d117fad5..c88be0959966 100644
--- a/sci-visualization/gnuplot/ChangeLog
+++ b/sci-visualization/gnuplot/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sci-visualization/gnuplot
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-visualization/gnuplot/ChangeLog,v 1.179 2012/02/16 18:01:05 phajdan.jr Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-visualization/gnuplot/ChangeLog,v 1.180 2012/02/22 07:53:16 ulm Exp $
+
+ 22 Feb 2012; Ulrich Müller <ulm@gentoo.org> gnuplot-4.6_rc1.ebuild:
+ Partially sync from science overlay. Remove addwrite for /dev/svga.
16 Feb 2012; Pawel Hajdan jr <phajdan.jr@gentoo.org> gnuplot-4.4.4-r1.ebuild:
x86 stable wrt bug #400975
diff --git a/sci-visualization/gnuplot/gnuplot-4.6_rc1.ebuild b/sci-visualization/gnuplot/gnuplot-4.6_rc1.ebuild
index dbb379832304..2b7a30fb6e6e 100644
--- a/sci-visualization/gnuplot/gnuplot-4.6_rc1.ebuild
+++ b/sci-visualization/gnuplot/gnuplot-4.6_rc1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-visualization/gnuplot/gnuplot-4.6_rc1.ebuild,v 1.5 2012/01/30 04:34:33 ottxor Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-visualization/gnuplot/gnuplot-4.6_rc1.ebuild,v 1.6 2012/02/22 07:53:16 ulm Exp $
EAPI=4
@@ -125,9 +125,16 @@ src_configure() {
&& myconf="${myconf} --with-readline=gnu" \
|| myconf="${myconf} --with-readline=builtin"
+ local emacs=$(usev emacs || usev xemacs || echo no)
+ if [[ -z ${PV%%*9999} && ${emacs} = no ]]; then
+ # Live ebuild needs an Emacs to build gnuplot.texi
+ if has_version virtual/emacs; then emacs=emacs
+ elif has_version app-xemacs/texinfo; then emacs=xemacs; fi
+ fi
+
econf ${myconf} \
DIST_CONTACT="http://bugs.gentoo.org/" \
- EMACS=$(usev emacs || usev xemacs || echo no)
+ EMACS=${emacs}
if use xemacs; then
einfo "Configuring gnuplot-mode for XEmacs ..."
@@ -147,10 +154,9 @@ src_compile() {
# Prevent access violations, see bug 201871
VARTEXFONTS="${T}/fonts"
- # This is a hack to avoid sandbox violations when using the Linux console.
- # Creating the DVI and PDF tutorials require /dev/svga to build the
- # example plots.
- addwrite /dev/svga:/dev/mouse:/dev/tts/0
+ # We believe that the following line is no longer needed.
+ # In case of problems file a bug report at bugs.gentoo.org.
+ #addwrite /dev/svga:/dev/mouse:/dev/tts/0
emake all info