do not try to sed a file that does not exist when use=-gif -png is used, bug #298589
authorAlexis Ballier <aballier@gentoo.org>
Sat, 12 Jun 2010 12:31:43 +0000 (12:31 +0000)
committerAlexis Ballier <aballier@gentoo.org>
Sat, 12 Jun 2010 12:31:43 +0000 (12:31 +0000)
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64

dev-tex/latex2html/ChangeLog
dev-tex/latex2html/Manifest
dev-tex/latex2html/latex2html-2008.ebuild

index a4e943be37f59ceffc43cdccf7cea42435c9ca1a..b0efd1004fd52e7a10653bcf507ccaf0cc24b204 100644 (file)
@@ -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
index 0e1a4571c1013bd2e94d93a7bb01d46b28c6387e..a15ceb9d131886ba8b2bffcd29cc2630b08ff716 100644 (file)
@@ -1,8 +1,18 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
 AUX latex2html-convert-length.patch 1148 RMD160 0f73d986180941697e4ee18d85b586247fc2d7e1 SHA1 67436ec0f2b7d3cca6312c00e4808907701ab5ee SHA256 aaf0e7b7ef3e37790da12fac5e92d87323c6f8041d7fd3c205ee3c96df83401e
 AUX latex2html-destdir.patch 703 RMD160 2b08bb440c4aacd3b23a05cb34d56597de8fd2a5 SHA1 eae4695aa812c927060004db9fd958c7a0d0d0b8 SHA256 e2dad7784064b12c17ba9530eb54f706d057c5b399538ee1928ca38005f860e1
 AUX latex2html-extract-major-version.patch 635 RMD160 5bfc884c149a19f9f3f3608b48e77c9106edd8e0 SHA1 8c3ff25c41f68e1cafe9ba580f3f38d8b1fa28f3 SHA256 265327a28fdbec750a32fc32999625ef254ec80736f170e645e1355d51df5c04
 AUX latex2html-perl_name.patch 445 RMD160 6f93bdc394f8c240542cd6a224864c3b4b27420d SHA1 3fd8480e23e3c06b8cb9876cc82a42b61e21386b SHA256 41dcf9d9b46691c34bddbae39faccbfeadf6beb2e19a4ac18af4a186758289c9
 DIST latex2html-2008.tar.gz 1133054 RMD160 a95f06253d6fc8808ffedcad7edf8235194d7756 SHA1 5e0aa47572e0c13a4c5da51e963d5496be3f86e7 SHA256 59456815a3984250c295d3d5c46b85646038db8db2735cdc0d3780cf4da337ad
-EBUILD latex2html-2008.ebuild 2391 RMD160 ca622b311f2ebb8790708d125a2590e4fe745a99 SHA1 c45e0638bc9f875e79626ea188aa984ed2c0db33 SHA256 c94b0ab4904c4e337ba0ebe72adc0ded071fc4ef758b2629eb28b1ae3005d7f0
-MISC ChangeLog 9035 RMD160 9f2cd07a36a7446ad917bd24f7a1ce7793f5107b SHA1 6649735204c4c6a4896f9b845247ce1688e4bbde SHA256 0f98cabda54adfa2776486015309d722eed9f1987a53848848acc0a483f01a19
+EBUILD latex2html-2008.ebuild 2487 RMD160 ec0f095141a9039a46a47cd68a9dc3462c8ca4ac SHA1 e04e85ca9c485121ff90a3c069f69384fc01cb84 SHA256 0035339821254b0418e9daeb10c38bcedbd1570a5ae355828d747e2adad2c1b3
+MISC ChangeLog 9206 RMD160 192628105b51b16f370efe9426c71b823def19bc SHA1 50d50c96fc0f1583c240bfd2c1cd68e991a63f84 SHA256 6b57516b1df4927b538cd65dfb405c59aef8560d14189a1a4cc5a56bcf8546be
 MISC metadata.xml 156 RMD160 2bf6b2ed9ff0fcef1e902cf093ccf4ae2dcc70a0 SHA1 e9260cd53905d8569cf3327ded4c6d01653fc389 SHA256 b4971b8472ab3fe4fbfe41b331a79193ca19e86c08d055ad1c20eaf9e04b79b6
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.15 (GNU/Linux)
+
+iEYEARECAAYFAkwTfjQACgkQvFcC4BYPU0rU8ACeL6tE4Ra7dZj2j/elnnW9Fnpe
+1cAAn1N6jaAkeYV58IeSaLPSQGZGxnta
+=8OLF
+-----END PGP SIGNATURE-----
index 73075e9d2df89a7a77409772d419297fc861364b..b040de12793c3105b1204daac2a9c3139c6af4f6 100644 (file)
@@ -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