summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Schwarzott <zzam@gentoo.org>2006-04-26 13:36:10 +0000
committerMatthias Schwarzott <zzam@gentoo.org>2006-04-26 13:36:10 +0000
commit2cc2e820480309e9ef2c6958868e35693ff05243 (patch)
tree3cfac9b0d40242d68b82cc2197ceb1151699fd2e /eclass/vdr-plugin.eclass
parentBump patchset version, with an extra patch to mark constant some data structu... (diff)
downloadhistorical-2cc2e820480309e9ef2c6958868e35693ff05243.tar.gz
historical-2cc2e820480309e9ef2c6958868e35693ff05243.tar.bz2
historical-2cc2e820480309e9ef2c6958868e35693ff05243.zip
Correct a problem with getting version numbers for newer versions. Reported by Harri Kukkonen <harrik@gmail.com>.
Diffstat (limited to 'eclass/vdr-plugin.eclass')
-rw-r--r--eclass/vdr-plugin.eclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/eclass/vdr-plugin.eclass b/eclass/vdr-plugin.eclass
index 41cdd746494b..de1075343589 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.18 2006/04/26 12:57:05 zzam Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/vdr-plugin.eclass,v 1.19 2006/04/26 13:36:10 zzam Exp $
#
# Author:
# Matthias Schwarzott <zzam@gentoo.org>
@@ -101,8 +101,8 @@ vdr-plugin_pkg_setup() {
append-flags -fPIC
use debug && append-flags -g
- VDRVERSION=$(awk -F'"' '/VDRVERSION/ {print $2}' /usr/include/vdr/config.h)
- APIVERSION=$(awk -F'"' '/APIVERSION/ {print $2}' /usr/include/vdr/config.h)
+ VDRVERSION=$(awk -F'"' '/define VDRVERSION/ {print $2}' /usr/include/vdr/config.h)
+ APIVERSION=$(awk -F'"' '/define APIVERSION/ {print $2}' /usr/include/vdr/config.h)
[[ -z ${APIVERSION} ]] && APIVERSION="${VDRVERSION}"
einfo "Building ${PF} against vdr-${VDRVERSION}"