summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorJörg Bornkessel <hd_brummy@gentoo.org>2013-03-30 20:14:41 +0000
committerJörg Bornkessel <hd_brummy@gentoo.org>2013-03-30 20:14:41 +0000
commit3ffe87b27a51c6d45172b7e53a8878a7aecfb35a (patch)
treecc454c8668afb7b0385ec2bceb883102d7b80b88 /eclass
parentold (diff)
downloadgentoo-2-3ffe87b27a51c6d45172b7e53a8878a7aecfb35a.tar.gz
gentoo-2-3ffe87b27a51c6d45172b7e53a8878a7aecfb35a.tar.bz2
gentoo-2-3ffe87b27a51c6d45172b7e53a8878a7aecfb35a.zip
fixed missing VDRVERSION up from >=vdr-1.7.34
Diffstat (limited to 'eclass')
-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)