diff options
author | Alexis Ballier <aballier@gentoo.org> | 2010-06-12 12:31:43 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2010-06-12 12:31:43 +0000 |
commit | 99734be10af45f9264d263504e6e152a5ce47f19 (patch) | |
tree | cad5265e1eb26035cee3c2b99c9db6049443d5ec /dev-tex | |
parent | remove src_test overide, this is the default (diff) | |
download | gentoo-2-99734be10af45f9264d263504e6e152a5ce47f19.tar.gz gentoo-2-99734be10af45f9264d263504e6e152a5ce47f19.tar.bz2 gentoo-2-99734be10af45f9264d263504e6e152a5ce47f19.zip |
do not try to sed a file that does not exist when use=-gif -png is used, bug #298589
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'dev-tex')
-rw-r--r-- | dev-tex/latex2html/ChangeLog | 8 | ||||
-rw-r--r-- | dev-tex/latex2html/latex2html-2008.ebuild | 7 |
2 files changed, 10 insertions, 5 deletions
diff --git a/dev-tex/latex2html/ChangeLog b/dev-tex/latex2html/ChangeLog index a4e943be37f5..b0efd1004fd5 100644 --- a/dev-tex/latex2html/ChangeLog +++ b/dev-tex/latex2html/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-tex/latex2html -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-tex/latex2html/ChangeLog,v 1.51 2009/12/26 17:35:53 pva Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-tex/latex2html/ChangeLog,v 1.52 2010/06/12 12:31:43 aballier Exp $ + + 12 Jun 2010; Alexis Ballier <aballier@gentoo.org> latex2html-2008.ebuild: + do not try to sed a file that does not exist when use=-gif -png is used, + bug #298589 26 Dec 2009; Peter Volkov <pva@gentoo.org> latex2html-2008.ebuild: virtual/ghostscript->app-text/ghostscript-gpl: ghostscript-gpl is the only diff --git a/dev-tex/latex2html/latex2html-2008.ebuild b/dev-tex/latex2html/latex2html-2008.ebuild index 73075e9d2df8..b040de12793c 100644 --- a/dev-tex/latex2html/latex2html-2008.ebuild +++ b/dev-tex/latex2html/latex2html-2008.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2009 Gentoo Foundation +# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-tex/latex2html/latex2html-2008.ebuild,v 1.9 2009/12/26 17:35:53 pva Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-tex/latex2html/latex2html-2008.ebuild,v 1.10 2010/06/12 12:31:43 aballier Exp $ inherit eutils multilib @@ -64,7 +64,8 @@ src_install() { # clean the perl scripts up to remove references to the sandbox einfo "fixing sandbox references" - dosed "s:${T}:/tmp:g" /usr/$(get_libdir)/latex2html/pstoimg.pl + # pstoimg isn't built unless gif or png useflags are enabled + { use png || use gif ; } && dosed "s:${T}:/tmp:g" /usr/$(get_libdir)/latex2html/pstoimg.pl dosed "s:${S}::g" /usr/$(get_libdir)/latex2html/latex2html.pl dosed "s:${T}:/tmp:g" /usr/$(get_libdir)/latex2html/cfgcache.pm dosed "s:${T}:/tmp:g" /usr/$(get_libdir)/latex2html/l2hconf.pm |