diff options
author | Matthias Schwarzott <zzam@gentoo.org> | 2006-04-26 13:36:10 +0000 |
---|---|---|
committer | Matthias Schwarzott <zzam@gentoo.org> | 2006-04-26 13:36:10 +0000 |
commit | 538378b38280f2289afff8b736b76d1b6d99c7cd (patch) | |
tree | 68a6302714e0b289bd256362f729ab6ef31244f8 /eclass/vdr-plugin.eclass | |
parent | Bump patchset version, with an extra patch to mark constant some data structu... (diff) | |
download | gentoo-2-538378b38280f2289afff8b736b76d1b6d99c7cd.tar.gz gentoo-2-538378b38280f2289afff8b736b76d1b6d99c7cd.tar.bz2 gentoo-2-538378b38280f2289afff8b736b76d1b6d99c7cd.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.eclass | 6 |
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}" |