summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJörg Bornkessel <hd_brummy@gentoo.org>2011-12-31 01:01:56 +0000
committerJörg Bornkessel <hd_brummy@gentoo.org>2011-12-31 01:01:56 +0000
commited97b0ff445b0b22a26cd1853eb9dbc5712e9562 (patch)
tree7fab556715895088888e273e5e16c99d1fd605e4
parentRespect {C,CXX,LD}FLAGS during config.tests (bug #336618). (diff)
downloadgentoo-2-ed97b0ff445b0b22a26cd1853eb9dbc5712e9562.tar.gz
gentoo-2-ed97b0ff445b0b22a26cd1853eb9dbc5712e9562.tar.bz2
gentoo-2-ed97b0ff445b0b22a26cd1853eb9dbc5712e9562.zip
fix for missing i18n-to-gettext, up from vdr-1.7.22
-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 831ada1bde14..f428d94e441c 100644
--- a/eclass/vdr-plugin.eclass
+++ b/eclass/vdr-plugin.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/vdr-plugin.eclass,v 1.76 2011/12/27 17:55:12 fauli Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/vdr-plugin.eclass,v 1.77 2011/12/31 01:01:56 hd_brummy Exp $
#
# Author:
# Matthias Schwarzott <zzam@gentoo.org>
@@ -265,7 +265,11 @@ plugin_has_gettext() {
}
vdr_i18n_convert_to_gettext() {
- local i18n_tool="${ROOT}/usr/share/vdr/bin/i18n-to-gettext.pl"
+ if has_version ">=media-video/vdr-1.7.22"; then
+ local i18n_tool="${ROOT}/usr/share/vdr/bin/i18n-to-gettext"
+ else
+ local i18n_tool="${ROOT}/usr/share/vdr/bin/i18n-to-gettext.pl"
+ fi
if [[ ${NO_GETTEXT_HACK} == "1" ]]; then
ewarn "Conversion to gettext disabled in ebuild"