summaryrefslogtreecommitdiff
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/vdr-plugin-2.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/vdr-plugin-2.eclass')
-rw-r--r--eclass/vdr-plugin-2.eclass3
1 files changed, 2 insertions, 1 deletions
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)