diff options
author | Ulrich Müller <ulm@gentoo.org> | 2008-08-25 08:28:32 +0000 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2008-08-25 08:28:32 +0000 |
commit | e55d35fa3b1429dccdc83dc1cdc7d071d6311871 (patch) | |
tree | 93546b586408977cc79a0d632b9cef7a816df22c /sci-visualization/gnuplot | |
parent | clean up (diff) | |
download | gentoo-2-e55d35fa3b1429dccdc83dc1cdc7d071d6311871.tar.gz gentoo-2-e55d35fa3b1429dccdc83dc1cdc7d071d6311871.tar.bz2 gentoo-2-e55d35fa3b1429dccdc83dc1cdc7d071d6311871.zip |
Install TeX files in a fixed location, bug 235395.
(Portage version: 2.2_rc8/cvs/Linux 2.6.26-gentoo-r1 i686)
Diffstat (limited to 'sci-visualization/gnuplot')
-rw-r--r-- | sci-visualization/gnuplot/ChangeLog | 5 | ||||
-rw-r--r-- | sci-visualization/gnuplot/gnuplot-4.2.3-r2.ebuild | 9 |
2 files changed, 9 insertions, 5 deletions
diff --git a/sci-visualization/gnuplot/ChangeLog b/sci-visualization/gnuplot/ChangeLog index 5ff45876e93c..448fa5352e53 100644 --- a/sci-visualization/gnuplot/ChangeLog +++ b/sci-visualization/gnuplot/ChangeLog @@ -1,6 +1,9 @@ # 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.78 2008/07/31 07:15:22 ulm Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-visualization/gnuplot/ChangeLog,v 1.79 2008/08/25 08:28:32 ulm Exp $ + + 25 Aug 2008; Ulrich Mueller <ulm@gentoo.org> gnuplot-4.2.3-r2.ebuild: + Install TeX files in a fixed location, bug 235395. 31 Jul 2008; Ulrich Mueller <ulm@gentoo.org> metadata.xml: Add myself as maintainer. diff --git a/sci-visualization/gnuplot/gnuplot-4.2.3-r2.ebuild b/sci-visualization/gnuplot/gnuplot-4.2.3-r2.ebuild index 147eca4a1865..da572932264b 100644 --- a/sci-visualization/gnuplot/gnuplot-4.2.3-r2.ebuild +++ b/sci-visualization/gnuplot/gnuplot-4.2.3-r2.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.3-r2.ebuild,v 1.7 2008/06/04 20:30:15 ken69267 Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-visualization/gnuplot/gnuplot-4.2.3-r2.ebuild,v 1.8 2008/08/25 08:28:32 ulm Exp $ inherit autotools elisp-common eutils multilib wxwidgets @@ -38,7 +38,8 @@ DEPEND="${RDEPEND} S=${WORKDIR}/${MY_P} -E_SITEFILE="50gnuplot-gentoo.el" +E_SITEFILE=50${PN}-gentoo.el +TEXMF=/usr/share/texmf-site latex_rehash() { if has_version '>=app-text/tetex-3' || has_version '>=app-text/ptex-3.1.8' || has_version 'app-text/texlive'; then @@ -76,8 +77,8 @@ src_compile() { # See bug #156427. if use latex ; then - sed -i \ - -e 's/TEXMFLOCAL/TEXMFSITE/g' share/LaTeX/Makefile.in || die + sed -i -e "s:\`kpsexpand.*\`:${TEXMF}/tex/latex/${PN}:" \ + share/LaTeX/Makefile.in || die else sed -i \ -e '/^SUBDIRS/ s/LaTeX//' share/LaTeX/Makefile.in || die |