summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Faulhammer <fauli@gentoo.org>2010-01-13 15:16:49 +0000
committerChristian Faulhammer <fauli@gentoo.org>2010-01-13 15:16:49 +0000
commitacd5e358d20bf220a1fffd39f0da3f9f5940a94b (patch)
tree2f7e9c951d2d9225ec2e80fd24b800429df3ff14 /eclass/texlive-module.eclass
parentApply PATCHES again. (diff)
downloadgentoo-2-acd5e358d20bf220a1fffd39f0da3f9f5940a94b.tar.gz
gentoo-2-acd5e358d20bf220a1fffd39f0da3f9f5940a94b.tar.bz2
gentoo-2-acd5e358d20bf220a1fffd39f0da3f9f5940a94b.zip
Introduce TL_PV to override TeXLive dependency
Diffstat (limited to 'eclass/texlive-module.eclass')
-rw-r--r--eclass/texlive-module.eclass10
1 files changed, 8 insertions, 2 deletions
diff --git a/eclass/texlive-module.eclass b/eclass/texlive-module.eclass
index 0284c7b86cce..27c2018709fa 100644
--- a/eclass/texlive-module.eclass
+++ b/eclass/texlive-module.eclass
@@ -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/eclass/texlive-module.eclass,v 1.33 2010/01/13 09:42:10 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/texlive-module.eclass,v 1.34 2010/01/13 15:16:49 fauli Exp $
# @ECLASS: texlive-module.eclass
# @MAINTAINER:
@@ -45,11 +45,17 @@
# texmf tree and that we want to be available directly. They will be installed in
# /usr/bin.
+# @ECLASS-VARIABLE: TL_PV
+# @DESCRIPTION:
+# Normally the module's PV reflects the TeXLive release it belongs to.
+# If this is not the case, TL_PV takes the version number for the
+# needed app-text/texlive-core.
+
inherit texlive-common
HOMEPAGE="http://www.tug.org/texlive/"
-COMMON_DEPEND=">=app-text/texlive-core-${PV}"
+COMMON_DEPEND=">=app-text/texlive-core-${TL_PV:-${PV}}"
IUSE="source"