summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Faulhammer <opfer@gentoo.org>2008-04-24 12:11:00 +0000
committerChristian Faulhammer <opfer@gentoo.org>2008-04-24 12:11:00 +0000
commitd425dc2789f424a3819e9d2512c5a6f4c452cf2a (patch)
treec8084b78aa9dff2297bd0c4d8b990a5b662da54c /sci-visualization
parentAdd patch to build with GCC 4.3. thanks to ape in bug #217017. (diff)
downloadgentoo-2-d425dc2789f424a3819e9d2512c5a6f4c452cf2a.tar.gz
gentoo-2-d425dc2789f424a3819e9d2512c5a6f4c452cf2a.tar.bz2
gentoo-2-d425dc2789f424a3819e9d2512c5a6f4c452cf2a.zip
remove all die comments and add virtual/ghostscript for USE=doc, see bug 217931 reported by <D DOT Allain AT bath DOT ac DOT uk>
(Portage version: 2.1.4.4)
Diffstat (limited to 'sci-visualization')
-rw-r--r--sci-visualization/gnuplot/ChangeLog7
-rw-r--r--sci-visualization/gnuplot/gnuplot-4.2.2-r1.ebuild23
2 files changed, 18 insertions, 12 deletions
diff --git a/sci-visualization/gnuplot/ChangeLog b/sci-visualization/gnuplot/ChangeLog
index 5ebd69d9b523..425d02378bba 100644
--- a/sci-visualization/gnuplot/ChangeLog
+++ b/sci-visualization/gnuplot/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sci-visualization/gnuplot
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-visualization/gnuplot/ChangeLog,v 1.66 2008/03/11 07:44:00 opfer Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-visualization/gnuplot/ChangeLog,v 1.67 2008/04/24 12:11:00 opfer Exp $
+
+ 24 Apr 2008; Christian Faulhammer <opfer@gentoo.org>
+ gnuplot-4.2.2-r1.ebuild:
+ remove all die comments and add virtual/ghostscript for USE=doc, see bug
+ 217931 reported by <D DOT Allain AT bath DOT ac DOT uk>
11 Mar 2008; Christian Faulhammer <opfer@gentoo.org>
files/gnuplot-4.2.2-disable_texi_generation.patch:
diff --git a/sci-visualization/gnuplot/gnuplot-4.2.2-r1.ebuild b/sci-visualization/gnuplot/gnuplot-4.2.2-r1.ebuild
index 230f03d78bb9..fae45daa9e23 100644
--- a/sci-visualization/gnuplot/gnuplot-4.2.2-r1.ebuild
+++ b/sci-visualization/gnuplot/gnuplot-4.2.2-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-visualization/gnuplot/gnuplot-4.2.2-r1.ebuild,v 1.13 2008/01/03 21:14:28 ranger Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-visualization/gnuplot/gnuplot-4.2.2-r1.ebuild,v 1.14 2008/04/24 12:11:00 opfer Exp $
inherit eutils elisp-common multilib wxwidgets
@@ -22,7 +22,8 @@ RDEPEND="
pdf? ( media-libs/pdflib )
ggi? ( media-libs/libggi )
gd? ( >=media-libs/gd-2 )
- doc? ( virtual/latex-base )
+ doc? ( virtual/latex-base
+ virtual/ghostscript )
latex? ( virtual/latex-base )
X? ( x11-libs/libXaw )
svga? ( media-libs/svgalib )
@@ -71,10 +72,10 @@ src_compile() {
# See bug #156427.
if use latex ; then
sed -i \
- -e 's/TEXMFLOCAL/TEXMFSITE/g' share/LaTeX/Makefile.in || die "sed failed"
+ -e 's/TEXMFLOCAL/TEXMFSITE/g' share/LaTeX/Makefile.in || die
else
sed -i \
- -e '/^SUBDIRS/ s/LaTeX//' share/LaTeX/Makefile.in || die "sed failed"
+ -e '/^SUBDIRS/ s/LaTeX//' share/LaTeX/Makefile.in || die
fi
if use wxwindows ; then
@@ -110,25 +111,25 @@ src_compile() {
TEMACS=no
use xemacs && TEMACS=xemacs
use emacs && TEMACS=emacs
- EMACS=${TEMACS} econf ${myconf} || die "econf failed"
- emake || die "emake failed"
+ EMACS=${TEMACS} econf ${myconf} || die
+ emake || die
if use doc ; then
cd docs
- emake pdf || die "pdf doc creation failed"
+ emake pdf || die
cd ../tutorial
- emake pdf || die "pdf tutorial failed"
+ emake pdf || die
fi
}
src_install () {
- emake DESTDIR="${D}" install || die "make install failed"
+ emake DESTDIR="${D}" install || die
if use emacs; then
cd lisp
einfo "Configuring gnuplot-mode for GNU Emacs..."
- EMACS="emacs" econf --with-lispdir="${SITELISP}/${PN}" || die "econf Emacs files faild"
- emake DESTDIR="${D}" install || die "make install Emacs files failed"
+ EMACS="emacs" econf --with-lispdir="${SITELISP}/${PN}" || die
+ emake DESTDIR="${D}" install || die
emake clean
cd ..