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
commit6e15ffb251cddad4b97a86a0f475fbaa0dc88100 (patch)
tree7e7cfde28b341aa312ebc4a66f58a727c3f136fd /eclass/texlive-module.eclass
parentApply PATCHES again. (diff)
downloadhistorical-6e15ffb251cddad4b97a86a0f475fbaa0dc88100.tar.gz
historical-6e15ffb251cddad4b97a86a0f475fbaa0dc88100.tar.bz2
historical-6e15ffb251cddad4b97a86a0f475fbaa0dc88100.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"