summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Schwarzott <zzam@gentoo.org>2008-04-23 14:25:16 +0000
committerMatthias Schwarzott <zzam@gentoo.org>2008-04-23 14:25:16 +0000
commitecc7452fe2f45aa3eca6308f6bfe6eefb17e2f78 (patch)
tree233f192696d52a3630d1ca0222a027fc07fec64a /media-plugins/vdr-vcd/vdr-vcd-0.9.ebuild
parentVersion bump. (diff)
downloadhistorical-ecc7452fe2f45aa3eca6308f6bfe6eefb17e2f78.tar.gz
historical-ecc7452fe2f45aa3eca6308f6bfe6eefb17e2f78.tar.bz2
historical-ecc7452fe2f45aa3eca6308f6bfe6eefb17e2f78.zip
Fix compiling with newer eclass. Fixed quoting of version 0.7.
Package-Manager: portage-2.1.5_rc6
Diffstat (limited to 'media-plugins/vdr-vcd/vdr-vcd-0.9.ebuild')
-rw-r--r--media-plugins/vdr-vcd/vdr-vcd-0.9.ebuild13
1 files changed, 12 insertions, 1 deletions
diff --git a/media-plugins/vdr-vcd/vdr-vcd-0.9.ebuild b/media-plugins/vdr-vcd/vdr-vcd-0.9.ebuild
index b68b832f60aa..9d2760b92f83 100644
--- a/media-plugins/vdr-vcd/vdr-vcd-0.9.ebuild
+++ b/media-plugins/vdr-vcd/vdr-vcd-0.9.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-vcd/vdr-vcd-0.9.ebuild,v 1.1 2008/01/27 17:47:37 hd_brummy Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-vcd/vdr-vcd-0.9.ebuild,v 1.2 2008/04/23 14:25:16 zzam Exp $
inherit eutils vdr-plugin
@@ -15,3 +15,14 @@ KEYWORDS="~x86 ~amd64"
IUSE=""
DEPEND=">=media-video/vdr-1.4.7"
+
+src_unpack() {
+ vdr-plugin_src_unpack unpack
+ cd "${S}"
+
+ # Patch Makefile, as VDRDIR is no well known variable name
+ # to stop spare -I in gcc cmdline
+ sed -e 's:$(VDRINC):$(VDRDIR)/include:' -i Makefile
+ vdr-plugin_src_unpack all_but_unpack
+}
+