summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Ehmsen <ehmsen@gentoo.org>2006-02-08 21:20:29 +0000
committerMartin Ehmsen <ehmsen@gentoo.org>2006-02-08 21:20:29 +0000
commit0bf43c9b15379987a5333d7645da73dab016c9b6 (patch)
treecba0eab3626b8e91235628e433048e30f3d0dec1 /eclass/tetex.eclass
parentAdded fix if the user has broken symlinks in /etc/texmf/*.d and (diff)
downloadgentoo-2-0bf43c9b15379987a5333d7645da73dab016c9b6.tar.gz
gentoo-2-0bf43c9b15379987a5333d7645da73dab016c9b6.tar.bz2
gentoo-2-0bf43c9b15379987a5333d7645da73dab016c9b6.zip
Changed so that tetex, cstetex and ptex doesn't block itself, bug #121727.
Diffstat (limited to 'eclass/tetex.eclass')
-rw-r--r--eclass/tetex.eclass20
1 files changed, 16 insertions, 4 deletions
diff --git a/eclass/tetex.eclass b/eclass/tetex.eclass
index e2346198d627..6e7154beecb3 100644
--- a/eclass/tetex.eclass
+++ b/eclass/tetex.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/tetex.eclass,v 1.43 2006/02/01 19:49:48 ehmsen Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/tetex.eclass,v 1.44 2006/02/08 21:20:29 ehmsen Exp $
#
# Author: Jaromir Malenko <malenko@email.cz>
# Author: Mamoru KOMACHI <usata@gentoo.org>
@@ -39,9 +39,21 @@ SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~ia64 ~x86 ~ppc ~sparc ~alpha ~amd64"
-DEPEND="!app-text/tetex
- !app-text/ptex
- !app-text/cstetex
+# tetex, ptex, cstetex must not block itself, fix for bug 121727
+if [[ "${PN}" = "tetex" ]] ; then
+ DEPEND="!app-text/ptex
+ !app-text/cstetex"
+fi
+if [[ "${PN}" = "ptex" ]] ; then
+ DEPEND="!app-text/tetex
+ !app-text/cstetex"
+fi
+if [[ "${PN}" = "cstetex" ]] ; then
+ DEPEND="!app-text/ptex
+ !app-text/tetex"
+fi
+
+DEPEND="${DEPEND}
sys-apps/ed
sys-libs/zlib
X? ( || ( (