summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-tex/latex2html')
-rw-r--r--dev-tex/latex2html/ChangeLog8
-rw-r--r--dev-tex/latex2html/latex2html-2008.ebuild7
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