summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoerg Bornkessel <hd_brummy@gentoo.org>2013-03-30 20:14:41 +0000
committerJoerg Bornkessel <hd_brummy@gentoo.org>2013-03-30 20:14:41 +0000
commit062aaeee2347028279a848b5b4a631b13014c78c (patch)
treee4e296c8ee6c17f644733dbc4294d772517ad2ef
parentold (diff)
downloadhistorical-062aaeee2347028279a848b5b4a631b13014c78c.tar.gz
historical-062aaeee2347028279a848b5b4a631b13014c78c.tar.bz2
historical-062aaeee2347028279a848b5b4a631b13014c78c.zip
fixed missing VDRVERSION up from >=vdr-1.7.34
-rw-r--r--eclass/ChangeLog5
-rw-r--r--eclass/vdr-plugin-2.eclass3
2 files changed, 6 insertions, 2 deletions
diff --git a/eclass/ChangeLog b/eclass/ChangeLog
index cd9c0fb0b1af..297c21ca312f 100644
--- a/eclass/ChangeLog
+++ b/eclass/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for eclass directory
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.759 2013/03/30 12:56:24 floppym Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.760 2013/03/30 20:14:41 hd_brummy Exp $
+
+ 30 Mar 2013; Joerg Bornkessel <hd_brummy@gentoo.org> vdr-plugin-2.eclass:
+ fixed missing VDRVERSION up from >=vdr-1.7.34
30 Mar 2013; Mike Gilbert <floppym@gentoo.org> python-r1.eclass:
Add note about quoting patterns for python_gen_usedep.
diff --git a/eclass/vdr-plugin-2.eclass b/eclass/vdr-plugin-2.eclass
index 13cb13ca49c9..653853f922ae 100644
--- a/eclass/vdr-plugin-2.eclass
+++ b/eclass/vdr-plugin-2.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/vdr-plugin-2.eclass,v 1.22 2013/03/05 09:09:17 hd_brummy Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/vdr-plugin-2.eclass,v 1.23 2013/03/30 20:14:41 hd_brummy Exp $
# @ECLASS: vdr-plugin-2.eclass
# @MAINTAINER:
@@ -380,6 +380,7 @@ vdr-plugin-2_pkg_setup() {
fi
if has_version ">=media-video/vdr-1.7.34"; then
+ VDRVERSION=$(awk -F'"' '/define VDRVERSION/ {print $2}' "${VDR_INCLUDE_DIR}"/config.h)
APIVERSION=$(pkg-config --variable=apiversion vdr)
else
VDRVERSION=$(awk -F'"' '/define VDRVERSION/ {print $2}' "${VDR_INCLUDE_DIR}"/config.h)