summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorJoerg Bornkessel <hd_brummy@gentoo.org>2011-03-13 19:06:26 +0000
committerJoerg Bornkessel <hd_brummy@gentoo.org>2011-03-13 19:06:26 +0000
commite57436b24888917df201b88919d5910546871394 (patch)
treec684ef2321da7de36c09eb43d192732f3f81d44b /eclass
parentStable on alpha, bug #357427 (diff)
downloadhistorical-e57436b24888917df201b88919d5910546871394.tar.gz
historical-e57436b24888917df201b88919d5910546871394.tar.bz2
historical-e57436b24888917df201b88919d5910546871394.zip
addapted to the new vdr locale DIR, used up from vdr-1.7.17
Diffstat (limited to 'eclass')
-rw-r--r--eclass/vdr-plugin.eclass8
1 files changed, 6 insertions, 2 deletions
diff --git a/eclass/vdr-plugin.eclass b/eclass/vdr-plugin.eclass
index 72d7d4e2643a..e1a51e85367a 100644
--- a/eclass/vdr-plugin.eclass
+++ b/eclass/vdr-plugin.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/vdr-plugin.eclass,v 1.72 2011/01/28 17:07:03 hd_brummy Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/vdr-plugin.eclass,v 1.73 2011/03/13 19:06:26 hd_brummy Exp $
#
# Author:
# Matthias Schwarzott <zzam@gentoo.org>
@@ -405,7 +405,11 @@ vdr-plugin_pkg_setup() {
DVB_INCLUDE_DIR="/usr/include"
TMP_LOCALE_DIR="${WORKDIR}/tmp-locale"
- LOCDIR="/usr/share/vdr/locale"
+ if has_version ">=media-video/vdr-1.7.17"; then
+ LOCDIR="/usr/share/locale"
+ else
+ LOCDIR="/usr/share/vdr/locale"
+ fi
if ! has_vdr; then
# set to invalid values to detect abuses